Class TdApi.InputPaidMedia
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.InputPaidMedia
- Enclosing class:
- TdApi
Describes a paid media to be sent.
-
Field Summary
Modifier and TypeFieldDescriptionint[]
File identifiers of the stickers added to the media, if applicable.static final int
Identifier uniquely determining type of the object.int
Media height.Photo or video to be sent.Media thumbnail; pass null to skip thumbnail uploading.Type of the media.int
Media width. -
Constructor Summary
ConstructorDescriptionDescribes 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 TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.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.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-