public static class TdApi.SetChatMessageSender extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.Function