Are you sending to the channel's ID? I think that the id's for users are positive and for groups are negative.
I have MQTT topics set up that let me send to people and groups by name, a flow listens for the topics and has a function node that translates the topic into the right id and formats the output.
Hello @TotallyInformation
no Node Red is sending to a Bot.
i created a chanel and added the bot as admin with the right to send news, all other option are switched off only "Nachrichten senden" is switched on
my node-red send the information to my Telegram Bot! i think not to a person or group
the content is
msg id, type and the content itself and there for i had to create the Bot! just this part works!
the Problem i have is to bring the Information which arrive into the Bot to also be published to the channel
I will say it one more time. You have to set a property called the chatId as indicated in the node's documentation. Group chatId's are a negative number, individual user id's are positive.
@Steve-Mcl Merci
how to this connection i dont have a token for the Channel.
And I asked for the Channel not the Group or Bot.
In Telegram itself the Bot is administator to the Channel but not publishing into the channel. what should work
Drat, Telegram has changed their web UI and the old methods don't seem to work any more.
I think that you have to attach the bot to a group. If the bot has access to all posts, set up a flow to listen for all inputs and output to debug. The id is in the incoming msg.
If the bot is restricted, set up a / command for the bot. In NR, set up a command listener and then issue that command in the channel, again, the id is in the incoming msg.
I have about 1/2 dozen bots and a similar number of groups and they all work just fine.
There is one thing to know:
Bot features are limited when it is a member of a channel. Even if it is an administrator it is not allowed to do everything just like in a group or supergroup.
I did not know this for a while and wondered about all the problems people have with bots in channels....
Thanks for your feedback.
yes i think it is strange a Bot can't publish into a channel.
And not easy to find out the channel id to publish into.
have a nice day
vinc