Package org.drinkless.tdlib
Class TdApi.ReportVideoMessageAdvertisement
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.ReportSponsoredResult>
org.drinkless.tdlib.TdApi.ReportVideoMessageAdvertisement
- Enclosing class:
- TdApi
public static class TdApi.ReportVideoMessageAdvertisement
extends TdApi.Function<TdApi.ReportSponsoredResult>
Reports a video message advertisement to Telegram moderators.
Returns ReportSponsoredResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongUnique identifier of the advertisement.static final intIdentifier uniquely determining type of the object.byte[]Option identifier chosen by the user; leave empty for the initial request. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which reports a video message advertisement to Telegram moderators.ReportVideoMessageAdvertisement(long advertisementUniqueId, byte[] optionId) Creates a function, which reports a video message advertisement to Telegram moderators. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
advertisementUniqueId
public long advertisementUniqueIdUnique identifier of the advertisement. -
optionId
public byte[] optionIdOption identifier chosen by the user; leave empty for the initial request. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ReportVideoMessageAdvertisement
public ReportVideoMessageAdvertisement()Default constructor for a function, which reports a video message advertisement to Telegram moderators.Returns
ReportSponsoredResult -
ReportVideoMessageAdvertisement
public ReportVideoMessageAdvertisement(long advertisementUniqueId, byte[] optionId) Creates a function, which reports a video message advertisement to Telegram moderators.Returns
ReportSponsoredResult- Parameters:
advertisementUniqueId- Unique identifier of the advertisement.optionId- Option identifier chosen by the user; leave empty for the initial request.
-
-
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
-