Class TdApi.MessageSenderChat

Enclosing class:
TdApi

public static class TdApi.MessageSenderChat extends TdApi.MessageSender
The message was sent on behalf of a chat.
  • Field Details

    • chatId

      public long chatId
      Identifier of the chat that sent the message.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • MessageSenderChat

      public MessageSenderChat()
      The message was sent on behalf of a chat.
    • MessageSenderChat

      public MessageSenderChat(long chatId)
      The message was sent on behalf of a chat.
      Parameters:
      chatId - Identifier of the chat that sent the message.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.MessageSender
      Returns:
      this.CONSTRUCTOR