public static class TdApi.AddLocalMessage extends TdApi.Function
Returns Message
TdApi.Function.Constructors
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.
|
long |
replyToMessageId
Identifier of the message to reply to or 0.
|
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,
long replyToMessageId,
boolean disableNotification,
TdApi.InputMessageContent inputMessageContent)
Creates a function, which adds a local message to a chat.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public TdApi.MessageSender senderId
public long replyToMessageId
public boolean disableNotification
public TdApi.InputMessageContent inputMessageContent
public static final int CONSTRUCTOR
public AddLocalMessage()
Returns Message
public AddLocalMessage(long chatId, TdApi.MessageSender senderId, long replyToMessageId, boolean disableNotification, TdApi.InputMessageContent inputMessageContent)
Returns Message
chatId
- Target chat.senderId
- Identifier of the sender of the message.replyToMessageId
- Identifier of the message to reply to or 0.disableNotification
- Pass true to disable notification for the message.inputMessageContent
- The content of the message to be added.public int getConstructor()
getConstructor
in class TdApi.Function