diff options
Diffstat (limited to 'telegram/utils_test.go')
-rw-r--r-- | telegram/utils_test.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/telegram/utils_test.go b/telegram/utils_test.go index 534596f..fa9c107 100644 --- a/telegram/utils_test.go +++ b/telegram/utils_test.go @@ -519,9 +519,11 @@ func TestMessageToPrefix6(t *testing.T) { ChatId: 25, IsOutgoing: true, ReplyTo: &client.MessageReplyToMessage{ - ChatId: 41, - Quote: &client.FormattedText{ - Text: "tist\nuz\niz", + ChatId: 41, + Quote: &client.TextQuote{ + Text: &client.FormattedText{ + Text: "tist\nuz\niz", + }, }, Origin: &client.MessageOriginHiddenUser{ SenderName: "ziz", |