MessageLinkInfo
public struct MessageLinkInfo : Codable, Equatable, FunctionResult
Contains information about a link to a message in a chat
-
True, if the link is a public link for a message in a chat
Declaration
Swift
public let isPublic: Bool
-
If found, identifier of the chat to which the message belongs, 0 otherwise
Declaration
Swift
public let chatId: Int53
-
If found, the linked message; may be null
Declaration
Swift
public let message: Message?
-
True, if the whole media album to which the message belongs is linked
Declaration
Swift
public let forAlbum: Bool
-
Contains information about a link to a message in a chat
Parameters
isPublic
True, if the link is a public link for a message in a chat
chatId
If found, identifier of the chat to which the message belongs, 0 otherwise
message
If found, the linked message; may be null
forAlbum
True, if the whole media album to which the message belongs is linked