Class TdApi.ReactionNotificationSettings
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ReactionNotificationSettings
- Enclosing class:
- TdApi
Contains information about notification settings for reactions.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Source of message reactions for which notifications are shown.boolean
True, if reaction sender and emoji must be displayed in notifications.long
Identifier of the notification sound to be played; 0 if sound is disabled.Source of story reactions for which notifications are shown. -
Constructor Summary
ConstructorDescriptionContains information about notification settings for reactions.ReactionNotificationSettings
(TdApi.ReactionNotificationSource messageReactionSource, TdApi.ReactionNotificationSource storyReactionSource, long soundId, boolean showPreview) Contains information about notification settings for reactions. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
messageReactionSource
Source of message reactions for which notifications are shown. -
storyReactionSource
Source of story reactions for which notifications are shown. -
soundId
public long soundIdIdentifier of the notification sound to be played; 0 if sound is disabled. -
showPreview
public boolean showPreviewTrue, if reaction sender and emoji must be displayed in notifications. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ReactionNotificationSettings
public ReactionNotificationSettings()Contains information about notification settings for reactions. -
ReactionNotificationSettings
public ReactionNotificationSettings(TdApi.ReactionNotificationSource messageReactionSource, TdApi.ReactionNotificationSource storyReactionSource, long soundId, boolean showPreview) Contains information about notification settings for reactions.- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-