ChatInviteLinkInfo

public struct ChatInviteLinkInfo : Codable, Equatable, FunctionResult

Contains information about a chat invite link

  • Chat identifier of the invite link; 0 if the user is not a member of this chat

    Declaration

    Swift

    public let chatId: Int53
  • Contains information about the type of the chat

    Declaration

    Swift

    public let type: ChatType
  • Title of the chat

    Declaration

    Swift

    public let title: String
  • Chat photo; may be null

    Declaration

    Swift

    public let photo: ChatPhoto?
  • Number of members

    Declaration

    Swift

    public let memberCount: Int32
  • User identifiers of some chat members that may be known to the current user

    Declaration

    Swift

    public let memberUserIds: [Int32]
  • True, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup

    Declaration

    Swift

    public let isPublic: Bool
  • Contains information about a chat invite link

    Declaration

    Swift

    public init(chatId: Int53, type: ChatType, title: String, photo: ChatPhoto?, memberCount: Int32, memberUserIds: [Int32], isPublic: Bool)

    Parameters

    chatId

    Chat identifier of the invite link; 0 if the user is not a member of this chat

    type

    Contains information about the type of the chat

    title

    Title of the chat

    photo

    Chat photo; may be null

    memberCount

    Number of members

    memberUserIds

    User identifiers of some chat members that may be known to the current user

    isPublic

    True, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup