toggleSupergroupIsAllHistoryAvailable - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.coroutines / toggleSupergroupIsAllHistoryAvailable

toggleSupergroupIsAllHistoryAvailable

suspend fun TelegramFlow.toggleSupergroupIsAllHistoryAvailable(supergroupId: Int, isAllHistoryAvailable: Boolean): Unit

Suspend function, which toggles whether the message history of a supergroup is available to new members; requires canChangeInfo rights.

Parameters

supergroupId - The identifier of the supergroup.

isAllHistoryAvailable - The new value of isAllHistoryAvailable.