public static class TdApi.GetMessageEmbeddingCode extends TdApi.Function
Returns Text
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Identifier of the chat to which the message belongs.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
forAlbum
Pass true to return an HTML code for embedding of the whole media album.
|
long |
messageId
Identifier of the message.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public long messageId
public boolean forAlbum
public static final int CONSTRUCTOR
public GetMessageEmbeddingCode()
Returns Text
public GetMessageEmbeddingCode(long chatId, long messageId, boolean forAlbum)
Returns Text
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.public int getConstructor()
getConstructor
in class TdApi.Function