- Enclosing class:
- TdApi
Selects a message sender to send
messages in a chat.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
New message sender for the chat. -
Constructor Summary
ConstructorDescriptionSelects a message sender to send messages in a chat.SetChatMessageSender
(long chatId, TdApi.MessageSender messageSenderId) Selects a message sender to send messages in a chat.SetChatMessageSender
(DataInput input) Selects a message sender to send messages in a chat. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
messageSenderId
New message sender for the chat. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetChatMessageSender
public SetChatMessageSender()Selects a message sender to send messages in a chat.Returns
Ok
-
SetChatMessageSender
Selects a message sender to send messages in a chat.Returns
Ok
- Parameters:
chatId
- long Chat identifier.messageSenderId
- MessageSender New message sender for the chat.
-
SetChatMessageSender
Selects a message sender to send messages in a chat.Returns
Ok
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-