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.
Method schema is available as of layer 100. Switch ยป
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