Skip to content

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.

3 participants