public static class TdApi.PushMessageContentAudio extends TdApi.PushMessageContent
TdApi.PushMessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
TdApi.Audio |
audio
Message content; may be null.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isPinned
True, if the message is a pinned message with the specified content.
|
Constructor and Description |
---|
PushMessageContentAudio()
An audio message.
|
PushMessageContentAudio(TdApi.Audio audio,
boolean isPinned)
An audio message.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
@Nullable public TdApi.Audio audio
public boolean isPinned
public static final int CONSTRUCTOR
public PushMessageContentAudio()
public PushMessageContentAudio(TdApi.Audio audio, boolean isPinned)
audio
- Message content; may be null.isPinned
- True, if the message is a pinned message with the specified content.public int getConstructor()
getConstructor
in class TdApi.PushMessageContent