GenerateChatInviteLink

public struct GenerateChatInviteLink : Codable, Equatable, TDFunction

Generates a new invite link for a chat; the previously generated link is revoked. Available for basic groups, supergroups, and channels. Requires administrator privileges and can_invite_users right

  • Undocumented

    Declaration

    Swift

    public typealias Result = ChatInviteLink
  • Chat identifier

    Declaration

    Swift

    public let chatId: Int53
  • Generates a new invite link for a chat; the previously generated link is revoked. Available for basic groups, supergroups, and channels. Requires administrator privileges and can_invite_users right

    Declaration

    Swift

    public init(chatId: Int53)

    Parameters

    chatId

    Chat identifier