public static class TdApi.PushMessageContentSticker extends TdApi.PushMessageContent
TdApi.PushMessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
emoji
Emoji corresponding to the sticker; may be empty.
|
boolean |
isPinned
True, if the message is a pinned message with the specified content.
|
TdApi.Sticker |
sticker
Message content; may be null.
|
Constructor and Description |
---|
PushMessageContentSticker()
A message with a sticker.
|
PushMessageContentSticker(TdApi.Sticker sticker,
java.lang.String emoji,
boolean isPinned)
A message with a sticker.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
@Nullable public TdApi.Sticker sticker
public java.lang.String emoji
public boolean isPinned
public static final int CONSTRUCTOR
public PushMessageContentSticker()
public PushMessageContentSticker(TdApi.Sticker sticker, java.lang.String emoji, boolean isPinned)
sticker
- Message content; may be null.emoji
- Emoji corresponding to the sticker; may be empty.isPinned
- True, if the message is a pinned message with the specified content.public int getConstructor()
getConstructor
in class TdApi.PushMessageContent