SetChatSlowModeDelay

public struct SetChatSlowModeDelay : Codable, Equatable, TDFunction

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

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Chat identifier

    Declaration

    Swift

    public let chatId: Int53
  • New slow mode delay for the chat; must be one of 0, 10, 30, 60, 300, 900, 3600

    Declaration

    Swift

    public let slowModeDelay: Int32
  • Changes the slow mode delay of a chat. Available only for supergroups; requires can_restrict_members rights

    Declaration

    Swift

    public init(chatId: Int53, slowModeDelay: Int32)

    Parameters

    chatId

    Chat identifier

    slowModeDelay

    New slow mode delay for the chat; must be one of 0, 10, 30, 60, 300, 900, 3600