Class TdApi.BusinessMessage

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.BusinessMessage
Enclosing class:
TdApi

public static class TdApi.BusinessMessage extends TdApi.Object
Describes a message from a business account as received by a bot.
  • Field Details

    • message

      public TdApi.Message message
      The message.
    • replyToMessage

      public TdApi.Message replyToMessage
      Message that is replied by the message in the same chat; may be null if none.
    • CONSTRUCTOR

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

    • BusinessMessage

      public BusinessMessage()
      Describes a message from a business account as received by a bot.
    • BusinessMessage

      public BusinessMessage(TdApi.Message message, TdApi.Message replyToMessage)
      Describes a message from a business account as received by a bot.
      Parameters:
      message - The message.
      replyToMessage - Message that is replied by the message in the same chat; may be null if none.
  • 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.Object
      Returns:
      this.CONSTRUCTOR