Class TdApi.ReportChatSponsoredMessageResultOptionRequired
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ReportChatSponsoredMessageResult
dev.voroby.springframework.telegram.client.TdApi.ReportChatSponsoredMessageResultOptionRequired
- Enclosing class:
- TdApi
public static class TdApi.ReportChatSponsoredMessageResultOptionRequired
extends TdApi.ReportChatSponsoredMessageResult
The user must choose an option to report the message and repeat request with the chosen option.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.List of available options.Title for the option choice. -
Constructor Summary
ConstructorDescriptionThe user must choose an option to report the message and repeat request with the chosen option.ReportChatSponsoredMessageResultOptionRequired
(String title, TdApi.ReportChatSponsoredMessageOption[] options) The user must choose an option to report the message and repeat request with the chosen option. -
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
-
title
Title for the option choice. -
options
List of available options. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ReportChatSponsoredMessageResultOptionRequired
public ReportChatSponsoredMessageResultOptionRequired()The user must choose an option to report the message and repeat request with the chosen option. -
ReportChatSponsoredMessageResultOptionRequired
public ReportChatSponsoredMessageResultOptionRequired(String title, TdApi.ReportChatSponsoredMessageOption[] options) The user must choose an option to report the message and repeat request with the chosen option.- Parameters:
title
- Title for the option choice.options
- List of available options.
-
-
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
-