public static class TdApi.AddLocalMessage extends TdApi.Function<TdApi.Message>
Returns Message
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Target chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
disableNotification
Pass true to disable notification for the message.
|
TdApi.InputMessageContent |
inputMessageContent
The content of the message to be added.
|
TdApi.InputMessageReplyTo |
replyTo
Information about the message or story to be replied; pass null if none.
|
TdApi.MessageSender |
senderId
Identifier of the sender of the message.
|
| Constructor and Description |
|---|
AddLocalMessage()
Default constructor for a function, which adds a local message to a chat.
|
AddLocalMessage(long chatId,
TdApi.MessageSender senderId,
TdApi.InputMessageReplyTo replyTo,
boolean disableNotification,
TdApi.InputMessageContent inputMessageContent)
Creates a function, which adds a local message to a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public TdApi.MessageSender senderId
public TdApi.InputMessageReplyTo replyTo
public boolean disableNotification
public TdApi.InputMessageContent inputMessageContent
public static final int CONSTRUCTOR
public AddLocalMessage()
Returns Message
public AddLocalMessage(long chatId,
TdApi.MessageSender senderId,
TdApi.InputMessageReplyTo replyTo,
boolean disableNotification,
TdApi.InputMessageContent inputMessageContent)
Returns Message
chatId - Target chat.senderId - Identifier of the sender of the message.replyTo - Information about the message or story to be replied; pass null if none.disableNotification - Pass true to disable notification for the message.inputMessageContent - The content of the message to be added.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object