Class TdApi.ReactionNotificationSettings

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ReactionNotificationSettings
Enclosing class:
TdApi

public static class TdApi.ReactionNotificationSettings extends TdApi.Object
Contains information about notification settings for reactions.
  • Field Details

    • messageReactionSource

      public TdApi.ReactionNotificationSource messageReactionSource
      Source of message reactions for which notifications are shown.
    • storyReactionSource

      public TdApi.ReactionNotificationSource storyReactionSource
      Source of story reactions for which notifications are shown.
    • soundId

      public long soundId
      Identifier of the notification sound to be played; 0 if sound is disabled.
    • showPreview

      public boolean showPreview
      True, if reaction sender and emoji must be displayed in notifications.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR