MessageForwardInfo
public struct MessageForwardInfo : Codable, Equatable, FunctionResult
Contains information about a forwarded message
-
Origin of a forwarded message
Declaration
Swift
public let origin: MessageForwardOrigin
-
Point in time (Unix timestamp) when the message was originally sent
Declaration
Swift
public let date: Int32
-
For messages forwarded to the chat with the current user (Saved Messages) or to the channel’s discussion group, the identifier of the chat from which the message was forwarded last time; 0 if unknown
Declaration
Swift
public let fromChatId: Int53
-
For messages forwarded to the chat with the current user (Saved Messages) or to the channel’s discussion group, the identifier of the original message from which the new message was forwarded last time; 0 if unknown
Declaration
Swift
public let fromMessageId: Int53
-
Contains information about a forwarded message
Declaration
Swift
public init(origin: MessageForwardOrigin, date: Int32, fromChatId: Int53, fromMessageId: Int53)
Parameters
origin
Origin of a forwarded message
date
Point in time (Unix timestamp) when the message was originally sent
fromChatId
For messages forwarded to the chat with the current user (Saved Messages) or to the channel’s discussion group, the identifier of the chat from which the message was forwarded last time; 0 if unknown
fromMessageId
For messages forwarded to the chat with the current user (Saved Messages) or to the channel’s discussion group, the identifier of the original message from which the new message was forwarded last time; 0 if unknown