Module tdlight.api

Class TdApi.SetChatDefaultMessageSender

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.TdApi.SetChatDefaultMessageSender
Enclosing class:
TdApi

public static final class TdApi.SetChatDefaultMessageSender extends TdApi.Function<TdApi.Ok>
Changes default message sender that is chosen in a chat.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • defaultMessageSenderId

      public TdApi.MessageSender 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

      public SetChatDefaultMessageSender(long chatId, TdApi.MessageSender defaultMessageSenderId)
      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

      public SetChatDefaultMessageSender(DataInput input) throws IOException
      Changes default message sender that is chosen in a chat.

      Returns Ok

      Throws:
      IOException
  • Method Details