Class TdApi.ReportChatSponsoredMessageOption
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ReportChatSponsoredMessageOption
- Enclosing class:
- TdApi
Describes an option to report a sponsored message.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.byte[]
Unique identifier of the option.Text of the option. -
Constructor Summary
ConstructorDescriptionDescribes an option to report a sponsored message.ReportChatSponsoredMessageOption
(byte[] id, String text) Describes an option to report a sponsored message. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
id
public byte[] idUnique identifier of the option. -
text
Text of the option. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ReportChatSponsoredMessageOption
public ReportChatSponsoredMessageOption()Describes an option to report a sponsored message. -
ReportChatSponsoredMessageOption
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-