SupergroupKtx.toggleIsAllHistoryAvailable - libtd-ktx

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


libtd-ktx / kotlinx.telegram.extensions / SupergroupKtx / toggleIsAllHistoryAvailable

toggleIsAllHistoryAvailable

open suspend fun Supergroup.toggleIsAllHistoryAvailable(isAllHistoryAvailable: Boolean): Unit

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

Parameters

isAllHistoryAvailable - The new value of isAllHistoryAvailable.