depoio / node-telegram-bot

Client wrapper for Telegram Bot API (Under heavy development)
MIT License
136 stars 30 forks source link

Channel support and new Chat type? #54

Closed rdev closed 8 years ago

rdev commented 8 years ago

Hi. Are you planning to add channel support and new Chat field type in Message?

shernshiou commented 8 years ago

@fivepointseven I will implement it by this week.

https://core.telegram.org/bots/api#chat

shernshiou commented 8 years ago

Chat field type is working normally. I am able to put my bot into a channel but the bot does not receive any messages. Any idea?

rdev commented 8 years ago

@shernshiou are bots actually supposed to see channel messages? I thought they're intended as administrators...

Or it may be privacy mode. I'm not sure how it works in channels.

shernshiou commented 8 years ago

@fivepointseven from the chat field, there are information about channel title and channel chat type. I suppose bots can view it. I will test further. Appreciate if more people can help :)