Module tdlight.api

Class TdApi.SetChatMessageSender

Enclosing class:
TdApi

public static final class TdApi.SetChatMessageSender extends TdApi.Function<TdApi.Ok>
Selects a message sender to send messages in a chat.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • messageSenderId

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

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

      public SetChatMessageSender(DataInput input) throws IOException
      Selects a message sender to send messages in a chat.

      Returns Ok

      Throws:
      IOException
  • Method Details