public static class TdApi.PushMessageContentPaidMedia extends TdApi.PushMessageContent
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isPinned
True, if the message is a pinned message with the specified content.
|
long |
starCount
Number of Telegram Stars needed to buy access to the media in the message; 0 for pinned message.
|
| Constructor and Description |
|---|
PushMessageContentPaidMedia()
A message with paid media.
|
PushMessageContentPaidMedia(long starCount,
boolean isPinned)
A message with paid media.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long starCount
public boolean isPinned
public static final int CONSTRUCTOR
public PushMessageContentPaidMedia()
public PushMessageContentPaidMedia(long starCount,
boolean isPinned)
starCount - Number of Telegram Stars needed to buy access to the media in the message; 0 for pinned message.isPinned - True, if the message is a pinned message with the specified content.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object