mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 06:25:10 +01:00
Fix comments in ReactionType
enum
This commit is contained in:
parent
62000c8204
commit
ae88d60b4e
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue