Package org.drinkless.tdlib
Class TdApi.InputPaidMedia
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputPaidMedia
- Enclosing class:
- TdApi
Describes a paid media to be sent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint[]File identifiers of the stickers added to the media, if applicable.static final intIdentifier uniquely determining type of the object.intMedia height.Photo or video to be sent.Media thumbnail; pass null to skip thumbnail uploading.Type of the media.intMedia width. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a paid media to be sent.InputPaidMedia(TdApi.InputPaidMediaType type, TdApi.InputFile media, TdApi.InputThumbnail thumbnail, int[] addedStickerFileIds, int width, int height) Describes a paid media to be sent. -
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
-
type
Type of the media. -
media
Photo or video to be sent. -
thumbnail
Media thumbnail; pass null to skip thumbnail uploading. -
addedStickerFileIds
public int[] addedStickerFileIdsFile identifiers of the stickers added to the media, if applicable. -
width
public int widthMedia width. -
height
public int heightMedia height. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputPaidMedia
public InputPaidMedia()Describes a paid media to be sent. -
InputPaidMedia
public InputPaidMedia(TdApi.InputPaidMediaType type, TdApi.InputFile media, TdApi.InputThumbnail thumbnail, int[] addedStickerFileIds, int width, int height) Describes a paid media to be sent.- Parameters:
type- Type of the media.media- Photo or video to be sent.thumbnail- Media thumbnail; pass null to skip thumbnail uploading.addedStickerFileIds- File identifiers of the stickers added to the media, if applicable.width- Media width.height- Media height.
-
-
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
-