Package org.drinkless.tdlib
Class TdApi.ReportOption
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ReportOption
- Enclosing class:
- TdApi
Describes an option to report an entity to Telegram.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.byte[]
Unique identifier of the option.Text of the option. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes an option to report an entity to Telegram.ReportOption
(byte[] id, String text) Describes an option to report an entity to Telegram. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns 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
-
ReportOption
public ReportOption()Describes an option to report an entity to Telegram. -
ReportOption
Describes an option to report an entity to Telegram.- 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
-