ChatKtx.toggleDefaultDisableNotification - libtd-ktx

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


libtd-ktx / kotlinx.telegram.extensions / ChatKtx / toggleDefaultDisableNotification

toggleDefaultDisableNotification

open suspend fun Chat.toggleDefaultDisableNotification(defaultDisableNotification: Boolean): Unit

Suspend function, which changes the value of the default disableNotification parameter, used when a message is sent to a chat.

Parameters

defaultDisableNotification - New value of defaultDisableNotification.