libtd-ktx / kotlinx.telegram.coroutines / setChatSlowModeDelay
setChatSlowModeDelay
suspend fun
TelegramFlow
.setChatSlowModeDelay(chatId:
Long
, slowModeDelay:
Int
):
Unit
Suspend function, which changes the slow mode delay of a chat. Available only for supergroups; requires canRestrictMembers rights.
Parameters
chatId
- Chat identifier.
slowModeDelay
- New slow mode delay for the chat; must be one of 0, 10, 30, 60, 300, 900,