aboutsummaryrefslogtreecommitdiff
path: root/telegram/utils_test.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2024-01-29 13:00:42 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2024-01-29 13:00:42 +0300
commit20e6d2558e868d61d7168ffe5ca4f3bff0a240c7 (patch)
tree4be00780eb2fe931f824dc83ef018f1df320d343 /telegram/utils_test.go
parent3a60a1cfaa9329e4c89b8c160892dda75de6c560 (diff)
Version 1.9.0v1.9.0
Diffstat (limited to 'telegram/utils_test.go')
-rw-r--r--telegram/utils_test.go8
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",