MessageForwardInfo class

Contains information about a forwarded message

Inheritance

Constructors

MessageForwardInfo({String? extra, int? client_id, MessageForwardOrigin? origin, int32? date, string? public_service_announcement_type, int53? from_chat_id, int53? from_message_id})
MessageForwardInfo.fromMap(Map<String, dynamic> map)

Properties

client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
date int32?
Point in time (Unix timestamp) when the message was originally sent
getter/setter pair
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
from_chat_id int53?
For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, or to the channel's discussion group, the identifier of the chat from which the message was forwarded last time; 0 if unknown
getter/setter pair
from_message_id int53?
For messages forwarded to the chat with the current user (Saved Messages), to the Replies bot chat, 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
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
origin MessageForwardOrigin?
Origin of a forwarded message
getter/setter pair
public_service_announcement_type string?
The type of a public service announcement for the forwarded message
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tdType String
JSON object type; maps to the field @type.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited