public static class TdApi.ReportOption extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
byte[] |
id
Unique identifier of the option.
|
java.lang.String |
text
Text of the option.
|
| Constructor and Description |
|---|
ReportOption()
Describes an option to report an entity to Telegram.
|
ReportOption(byte[] id,
java.lang.String text)
Describes an option to report an entity to Telegram.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic byte[] id
public java.lang.String text
public static final int CONSTRUCTOR
public ReportOption()
public ReportOption(byte[] id,
java.lang.String text)
id - Unique identifier of the option.text - Text of the option.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object