InputMessageForwarded class final
A forwarded message
- Inheritance
-
- Object
- TdObject
- InputMessageContent
- InputMessageForwarded
Constructors
- InputMessageForwarded({required int fromChatId, required int messageId, MessageCopyOptions? copyOptions})
-
A forwarded message
const
-
InputMessageForwarded.fromJson(Map<
String, dynamic> json) -
Parses a InputMessageForwarded from TDLib JSON.
factory
Properties
- clientId → int?
-
Identifier of the TDLib client that sent this object, when known.
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
- extra → dynamic
-
"@extra" of the request this object answers; null for updates.
no setterinherited
- fromChatId → int
-
Identifier for the chat this forwarded message came from
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
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
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? fromChatId, int? messageId, MessageCopyOptions? copyOptions()?}) → InputMessageForwarded -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it.override -
getConstructor(
) → String -
TDLib type name, e.g.
updateNewMessage.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to TDLib JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.