InputMessageForwarded class final

InputMessageForwarded (inputMessageForwarded) - child of InputMessageContent

A forwarded message.

  • fromChatId: Identifier for the chat this forwarded message came from.
  • messageId: Identifier of the message to forward. A message can be forwarded only if messageProperties.can_be_forwarded.
  • inGameShare: True, if a game message is being shared from a launched game; applies only to game messages.
  • copyOptions: Options to be used to copy content of the message without reference to the original sender; pass null to forward the message as usual (optional).
Inheritance

Constructors

InputMessageForwarded({required int fromChatId, required int messageId, required bool inGameShare, MessageCopyOptions? copyOptions})
InputMessageForwarded (inputMessageForwarded) - child of InputMessageContent
const
InputMessageForwarded.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

clientId → int?
Client ID, from which this object was received
no setterinherited
copyOptions → MessageCopyOptions?
Options to be used to copy content of the message without reference to the original sender; pass null to forward the message as usual
final
currentObjectId → String
TDLib object type for current class instance
no setteroverride
extra → dynamic
A sign from TDLib update
no setterinherited
fromChatId → int
Identifier for the chat this forwarded message came from
final
hashCode → int
The hash code for this object.
no setterinherited
inGameShare → bool
True, if a game message is being shared from a launched game; applies only to game messages
final
messageId → int
Identifier of the message to forward. A message can be forwarded only if messageProperties.can_be_forwarded
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? fromChatId, int? messageId, bool? inGameShare, MessageCopyOptions? copyOptions}) → InputMessageForwarded
Copy model with modified properties.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Convert model to TDLib JSON format
override
toString() → String
Convert model to TDLib JSON format, encoded into String.
override

Operators

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

Constants

defaultObjectId → const String
TDLib object type