Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API updates: 8th Oct, 2015 #77

Closed
leandrotoledo opened this issue Oct 8, 2015 · 2 comments
Closed

API updates: 8th Oct, 2015 #77

leandrotoledo opened this issue Oct 8, 2015 · 2 comments

Comments

@leandrotoledo
Copy link
Member

October 8, 2015

  • Added initial channel support for bots (no Telegram clients support this at the moment, please wait for updates):
  • The Chat field in the Message is now of the new type Chat.
  • You can now pass a channel username (in the format @channelusername) in the place of chat_id in all methods (and instead of from_chat_id in forwardMessage). For this to work, the bot must be an administrator in the channel (and that‘s exactly what Telegram clients don’t support yet — adding bots as administrators coming soon).

https://core.telegram.org/bots/api-changelog

@leandrotoledo
Copy link
Member Author

The Chat field in the Message is now of the new type Chat.

We need to move from GroupChat and User to a new Chat class. https://core.telegram.org/bots/api#chat

You can now pass a channel username (in the format @channelusername) in the place of chat_id in all methods (and instead of from_chat_id in forwardMessage).

TBC as well.
Edit: Not sure if Telegram clients already support Bots as admin, so we can test this feature.
Edit²: It does! So we should be good on testing this.

@jh0ker jh0ker assigned jh0ker and unassigned leandrotoledo Dec 16, 2015
@jh0ker
Copy link
Member

jh0ker commented Dec 16, 2015

#127

@jh0ker jh0ker closed this as completed Dec 16, 2015
@github-actions github-actions bot locked and limited conversation to collaborators Aug 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants