Package org.drinkless.tdlib
Class TdApi.GetMessageEmbeddingCode
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.GetMessageEmbeddingCode
-
- Enclosing class:
- TdApi
public static class TdApi.GetMessageEmbeddingCode extends TdApi.Function
Returns an HTML code for embedding the message. Available only for messages in supergroups and channels with a username.Returns
Text
-
-
Field Summary
Fields Modifier and Type Field Description longchatIdIdentifier of the chat to which the message belongs.static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanforAlbumPass true to return an HTML code for embedding of the whole media album.longmessageIdIdentifier of the message.
-
Constructor Summary
Constructors Constructor Description GetMessageEmbeddingCode()Default constructor for a function, which returns an HTML code for embedding the message.GetMessageEmbeddingCode(long chatId, long messageId, boolean forAlbum)Creates a function, which returns an HTML code for embedding the message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Identifier of the chat to which the message belongs.
-
messageId
public long messageId
Identifier of the message.
-
forAlbum
public boolean forAlbum
Pass true to return an HTML code for embedding of the whole media album.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetMessageEmbeddingCode
public GetMessageEmbeddingCode()
Default constructor for a function, which returns an HTML code for embedding the message. Available only for messages in supergroups and channels with a username.Returns
Text
-
GetMessageEmbeddingCode
public GetMessageEmbeddingCode(long chatId, long messageId, boolean forAlbum)Creates a function, which returns an HTML code for embedding the message. Available only for messages in supergroups and channels with a username.Returns
Text- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-