libtd-ktx / kotlinx.telegram.coroutines / toggleChatDefaultDisableNotification
toggleChatDefaultDisableNotification
suspend fun TelegramFlow.toggleChatDefaultDisableNotification(chatId: Long, defaultDisableNotification: Boolean): Unit
Suspend function, which changes the value of the default disableNotification parameter, used when a message is sent to a chat.
Parameters
chatId - Chat identifier.
defaultDisableNotification - New value of defaultDisableNotification.