Get all groups that can be used as discussion groups.
Returned basic group chats must be first upgraded to supergroups before they can be set as a discussion group.
To set a returned supergroup as a discussion group, access to its old messages must be enabled using channels.togglePreHistoryHidden, first.
messages.chats#64ff9fd5 chats:Vector<Chat> = messages.Chats; messages.chatsSlice#9cd81144 count:int chats:Vector<Chat> = messages.Chats; ---functions--- channels.getGroupsForDiscussion#f5dad378 = messages.Chats;
This constructor does not require any parameters.
Groups can be associated to a channel as a discussion group, to allow users to discuss about posts.
How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.
Hide/unhide message history for new channel/supergroup users