libtd-ktx / kotlinx.telegram.coroutines / getSuitableDiscussionChats
getSuitableDiscussionChats
suspend fun TelegramFlow.getSuitableDiscussionChats(): Chats
Suspend function, which returns a list of basic group and supergroup chats, which can be used as a discussion group for a channel. Basic group chats need to be first upgraded to supergroups before they can be set as a discussion group.
Return Chats Represents a list of chats.