Class TdApi.ReportChatSponsoredMessageOption

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

public static class TdApi.ReportChatSponsoredMessageOption extends TdApi.Object
Describes an option to report a sponsored message.
  • Field Details

    • id

      public byte[] id
      Unique identifier of the option.
    • text

      public String text
      Text of the option.
    • CONSTRUCTOR

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

    • ReportChatSponsoredMessageOption

      public ReportChatSponsoredMessageOption()
      Describes an option to report a sponsored message.
    • ReportChatSponsoredMessageOption

      public ReportChatSponsoredMessageOption(byte[] id, String text)
      Describes an option to report a sponsored message.
      Parameters:
      id - Unique identifier of the option.
      text - Text of the option.
  • 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