Fix comments in ReactionType enum

This commit is contained in:
Andrey Brusnik 2024-07-30 17:07:37 +04:00
parent 62000c8204
commit ae88d60b4e
No known key found for this signature in database
GPG key ID: D33232F28CFF442C

View file

@ -5,7 +5,7 @@ use serde::{Deserialize, Serialize};
#[serde(tag = "type")]
#[serde(rename_all = "snake_case")]
pub enum ReactionType {
/// "emoji" or "custom_emoji" reaction
/// Emoji reaction.
Emoji {
/// Reaction emoji. Currently, it can be one of "👍", "👎", "❤", "🔥",
/// "🥰", "👏", "😁", "🤔", "🤯", "😱", "🤬", "😢", "🎉", "🤩",
@ -17,7 +17,7 @@ pub enum ReactionType {
/// "💊", "🙊", "😎", "👾", "🤷‍♂", "🤷", "🤷‍♀", "😡"
emoji: String,
},
/// Custom emoji sticker.
/// Custom emoji reaction.
CustomEmoji {
/// Custom emoji identifier.
custom_emoji_id: String,