Skip to content

toggle chat default disable notification

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

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.

Clone this wiki locally