AddChatMembers

public struct AddChatMembers : Codable, Equatable, TDFunction

Adds multiple new members to a chat. Currently this option is only available for supergroups and channels. This option can’t be used to join a chat. Members can’t be added to a channel if it has more than 200 members. Members will not be added until the chat state has been synchronized with the server

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Chat identifier

    Declaration

    Swift

    public let chatId: Int53
  • Identifiers of the users to be added to the chat

    Declaration

    Swift

    public let userIds: [Int32]
  • Adds multiple new members to a chat. Currently this option is only available for supergroups and channels. This option can’t be used to join a chat. Members can’t be added to a channel if it has more than 200 members. Members will not be added until the chat state has been synchronized with the server

    Declaration

    Swift

    public init(chatId: Int53, userIds: [Int32])

    Parameters

    chatId

    Chat identifier

    userIds

    Identifiers of the users to be added to the chat