From 5fefb2b4d9c6e301d1110e8c40f89b4cc28a464d Mon Sep 17 00:00:00 2001 From: Artem Yadelskyi Date: Mon, 17 Jun 2024 11:55:52 +0300 Subject: [PATCH] Fix typo --- telegoutil/message_entity.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegoutil/message_entity.go b/telegoutil/message_entity.go index 3556048..7495caf 100644 --- a/telegoutil/message_entity.go +++ b/telegoutil/message_entity.go @@ -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) {