Skip to content

API updates Oct and Nov #127

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

Merged
merged 4 commits into from
Dec 16, 2015
Merged

API updates Oct and Nov #127

merged 4 commits into from
Dec 16, 2015

Conversation

jh0ker
Copy link
Member

@jh0ker jh0ker commented Dec 16, 2015

The class GroupChat has been refactored to Chat and now represents all chats. Also, Message now contains the optional fields supergroup_chat_created, migrate_to_chat_id, migrate_from_chat_id and channel_chat_created.

@jh0ker jh0ker mentioned this pull request Dec 16, 2015
jh0ker added a commit that referenced this pull request Dec 16, 2015
@jh0ker jh0ker merged commit 37271e4 into master Dec 16, 2015
@jh0ker jh0ker deleted the chatclass branch December 29, 2015 13:34
@leandrotoledo
Copy link
Member

Suggestion: Eventually we could have a ChatType class, listing off all the types, as we do in ChatAction.

@jh0ker
Copy link
Member Author

jh0ker commented Jan 4, 2016

@leandrotoledo I thought about that, but at the time of implementation, there was no use for that. There was no situation where you would assign the chat type, you'd only decode from json

@github-actions github-actions bot locked and limited conversation to collaborators Aug 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants