GetMessageEmbeddingCode class final
GetMessageEmbeddingCode (getMessageEmbeddingCode) - TDLib function
Returns an HTML code for embedding the message. Available only if messageProperties.can_get_embedding_code.
- chatId: Identifier of the chat to which the message belongs.
- messageId: Identifier of the message.
- forAlbum: Pass true to return an HTML code for embedding of the whole media album.
Text is returned on completion.
- Inheritance
-
- Object
- TdFunction
- GetMessageEmbeddingCode
Constructors
- GetMessageEmbeddingCode({required int chatId, required int messageId, required bool forAlbum})
-
GetMessageEmbeddingCode (getMessageEmbeddingCode) - TDLib function
const
Properties
- chatId → int
-
Identifier of the chat to which the message belongs
final
- currentObjectId → String
-
TDLib object type for current class instance
no setteroverride
- forAlbum → bool
-
Pass true to return an HTML code for embedding of the whole media album
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId → int
-
Identifier of the message
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? chatId, int? messageId, bool? forAlbum}) → GetMessageEmbeddingCode - Copy model with modified properties.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → 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