public static class TdApi.InputPaidMedia extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
int[] |
addedStickerFileIds
File identifiers of the stickers added to the media, if applicable.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
height
Media height.
|
TdApi.InputFile |
media
Photo or video to be sent.
|
TdApi.InputThumbnail |
thumbnail
Media thumbnail; pass null to skip thumbnail uploading.
|
TdApi.InputPaidMediaType |
type
Type of the media.
|
int |
width
Media width.
|
| Constructor and Description |
|---|
InputPaidMedia()
Describes 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.InputPaidMediaType type
public TdApi.InputFile media
public TdApi.InputThumbnail thumbnail
public int[] addedStickerFileIds
public int width
public int height
public static final int CONSTRUCTOR
public InputPaidMedia()
public InputPaidMedia(TdApi.InputPaidMediaType type, TdApi.InputFile media, TdApi.InputThumbnail thumbnail, int[] addedStickerFileIds, int width, int height)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object