Skip to content

Commit

Permalink
fix: message entity hashtag and cashtag name (#36)
Browse files Browse the repository at this point in the history
Co-authored-by: Calli <[email protected]>
  • Loading branch information
AdriDevelopsThings and CalliEve authored Jan 4, 2024
1 parent fdaeff4 commit 3b6af18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/model/message_entity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ pub enum MessageEntity {
#[serde(rename = "mention")]
Mention(TextBlock),
/// A hashtag (`#hashtag`)
#[serde(rename = "hash_tag")]
#[serde(rename = "hashtag")]
HashTag(TextBlock),
/// A cashtag (`$USD`)
#[serde(rename = "cash_tag")]
#[serde(rename = "cashtag")]
CashTag(TextBlock),
/// A bot command (`/start@bot_name`)
#[serde(rename = "bot_command")]
Expand Down

0 comments on commit 3b6af18

Please sign in to comment.