Package org.drinkless.tdlib
Class TdApi.ReportChatSponsoredMessageOption
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ReportChatSponsoredMessageOption
- Enclosing class:
- TdApi
Describes an option to report a sponsored message.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.byte[]Unique identifier of the option.Text of the option. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes an option to report a sponsored message.ReportChatSponsoredMessageOption(byte[] id, String text) Describes an option to report a sponsored message. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-