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
chatIdIdentifier of the chat to which the message belongs
messageIdIdentifier of the message
forAlbumPass true if a link for a whole media album should be returned
View on GitHub
Install in Dash
GetPublicMessageLink Structure Reference