Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mymmrac committed Jun 17, 2024
1 parent 425b35d commit 5fefb2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegoutil/message_entity.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func (c MessageEntityCollection) CustomEmoji(emojiID string) MessageEntityCollec
return c
}

// MessageEntities coverts entity collections into the text and slice of [telego.MessageEntity] associated with text
// MessageEntities converts entity collections into the text and slice of [telego.MessageEntity] associated with text
// Note: Entity length is not trimmed as described in docs on purpose, Telegram still handles all entities perfectly
// fine, but trimming their length actually limits what can be sent
func MessageEntities(entityCollections ...MessageEntityCollection) (string, []telego.MessageEntity) {
Expand Down

0 comments on commit 5fefb2b

Please sign in to comment.