public static class TdApi.GetMessageEmbeddingCode extends TdApi.Function<TdApi.Text>
Returns Text
| 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()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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()
TdApi.ObjectgetConstructor in class TdApi.Object