GetPublicMessageLink
public struct GetPublicMessageLink : Codable, Equatable, TDFunction
Returns a public HTTPS link to a message. Available only for messages in supergroups and channels with a username
-
Undocumented
Declaration
Swift
public typealias Result = PublicMessageLink
-
Identifier of the chat to which the message belongs
Declaration
Swift
public let chatId: Int53
-
Identifier of the message
Declaration
Swift
public let messageId: Int53
-
Pass true if a link for a whole media album should be returned
Declaration
Swift
public let forAlbum: Bool
-
Returns a public HTTPS link to a message. Available only for messages in supergroups and channels with a username
Parameters
chatId
Identifier of the chat to which the message belongs
messageId
Identifier of the message
forAlbum
Pass true if a link for a whole media album should be returned