public static class TdApi.SetChatMessageSender extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.MessageSender |
messageSenderId
New message sender for the chat.
|
| Constructor and Description |
|---|
SetChatMessageSender()
Default constructor for a function, which selects a message sender to send messages in a chat.
|
SetChatMessageSender(long chatId,
TdApi.MessageSender messageSenderId)
Creates a function, which selects a message sender to send messages in 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 messageSenderId
public static final int CONSTRUCTOR
public SetChatMessageSender()
Returns Ok
public SetChatMessageSender(long chatId,
TdApi.MessageSender messageSenderId)
Returns Ok
chatId - Chat identifier.messageSenderId - New message sender for the chat.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object