- Enclosing class:
- TdApi
Changes default message sender that
is chosen in a chat.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
New default message sender in the chat. -
Constructor Summary
ConstructorDescriptionChanges default message sender that is chosen in a chat.SetChatDefaultMessageSender
(long chatId, TdApi.MessageSender defaultMessageSenderId) Changes default message sender that is chosen in a chat.Changes default message sender that is chosen 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. -
defaultMessageSenderId
New default message sender in the chat. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetChatDefaultMessageSender
public SetChatDefaultMessageSender()Changes default message sender that is chosen in a chat.Returns
Ok
-
SetChatDefaultMessageSender
Changes default message sender that is chosen in a chat.Returns
Ok
- Parameters:
chatId
- long Chat identifier.defaultMessageSenderId
- MessageSender New default message sender in the chat.
-
SetChatDefaultMessageSender
Changes default message sender that is chosen 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()
-