SetChatSlowModeDelay constructor

const SetChatSlowModeDelay({
  1. required int chatId,
  2. required int slowModeDelay,
})

Changes the slow mode delay of a chat. Available only for supergroups; requires can_restrict_members rights

Implementation

const SetChatSlowModeDelay({
  required this.chatId,
  required this.slowModeDelay,
});