Skip to content

ReactionNotificationSettings

Type · TDLib 1.8.67 · d1085f9c

Contains information about notification settings for reactions and poll votes

ReactionNotificationSettings(
  message_reaction_source: ReactionNotificationSource,
  story_reaction_source: ReactionNotificationSource,
  poll_vote_source: ReactionNotificationSource,
  sound_id: int64,
  show_preview: Bool
) → ReactionNotificationSettings

message_reaction_source

ReactionNotificationSource

Source of message reactions for which notifications are shown

story_reaction_source

ReactionNotificationSource

Source of story reactions for which notifications are shown

poll_vote_source

ReactionNotificationSource

Source of poll votes for which notifications are shown

sound_id

int64

Identifier of the notification sound to be played; 0 if sound is disabled; pass -1 to use the app-dependent default sound

show_preview

Bool

True, if reaction sender and emoji must be displayed in notifications