Interface ReactionNotificationSettings

Contains information about notification settings for reactions and poll votes.

interface ReactionNotificationSettings {
    @type: "reactionNotificationSettings";
    message_reaction_source: ReactionNotificationSource;
    poll_vote_source: ReactionNotificationSource;
    show_preview?: boolean;
    sound_id: string;
    story_reaction_source: ReactionNotificationSource;
}

Properties

@type: "reactionNotificationSettings"
message_reaction_source: ReactionNotificationSource

Source of message reactions for which notifications are shown.

poll_vote_source: ReactionNotificationSource

Source of poll votes for which notifications are shown.

show_preview?: boolean

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

sound_id: string

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

story_reaction_source: ReactionNotificationSource

Source of story reactions for which notifications are shown.