public static class TdApi.ReactionNotificationSettings extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.ReactionNotificationSource |
messageReactionSource
Source of message reactions for which notifications are shown.
|
boolean |
showPreview
True, if reaction sender and emoji must be displayed in notifications.
|
long |
soundId
Identifier of the notification sound to be played; 0 if sound is disabled.
|
TdApi.ReactionNotificationSource |
storyReactionSource
Source of story reactions for which notifications are shown.
|
| Constructor and Description |
|---|
ReactionNotificationSettings()
Contains information about notification settings for reactions.
|
ReactionNotificationSettings(TdApi.ReactionNotificationSource messageReactionSource,
TdApi.ReactionNotificationSource storyReactionSource,
long soundId,
boolean showPreview)
Contains information about notification settings for reactions.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.ReactionNotificationSource messageReactionSource
public TdApi.ReactionNotificationSource storyReactionSource
public long soundId
public boolean showPreview
public static final int CONSTRUCTOR
public ReactionNotificationSettings()
public ReactionNotificationSettings(TdApi.ReactionNotificationSource messageReactionSource, TdApi.ReactionNotificationSource storyReactionSource, long soundId, boolean showPreview)
messageReactionSource - Source of message reactions for which notifications are shown.storyReactionSource - Source of story reactions for which notifications are shown.soundId - Identifier of the notification sound to be played; 0 if sound is disabled.showPreview - True, if reaction sender and emoji must be displayed in notifications.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object