JoinChatByInviteLink
public struct JoinChatByInviteLink : Codable, Equatable, TDFunction
Uses an invite link to add the current user to the chat if possible. The new member will not be added until the chat state has been synchronized with the server
-
Undocumented
Declaration
Swift
public typealias Result = Chat
-
Invite link to import; should begin with “https://t.me/joinchat/”, “https://telegram.me/joinchat/”, or “https://telegram.dog/joinchat/”
Declaration
Swift
public let inviteLink: String
-
Uses an invite link to add the current user to the chat if possible. The new member will not be added until the chat state has been synchronized with the server
Declaration
Swift
public init(inviteLink: String)
Parameters
inviteLink
Invite link to import; should begin with “https://t.me/joinchat/”, “https://telegram.me/joinchat/”, or “https://telegram.dog/joinchat/”