Update example

This commit is contained in:
c0re100 2026-07-15 21:32:46 +08:00
parent a2c9f63bac
commit 4fb03a806a
No known key found for this signature in database
GPG key ID: 7C3B3004FE745AAF

View file

@ -100,9 +100,11 @@ func main() {
MessageId: msgId,
},
InputMessageContent: &tdlib.InputMessagePhoto{
Photo: &tdlib.InputPhoto{
Photo: &tdlib.InputFileLocal{
Path: "./Meru_01.png",
},
},
Caption: text,
},
})
@ -122,17 +124,21 @@ func main() {
},
InputMessageContents: []tdlib.InputMessageContent{
&tdlib.InputMessagePhoto{
Photo: &tdlib.InputPhoto{
Photo: &tdlib.InputFileLocal{
Path: "./Meru_01.png",
},
},
Caption: text,
},
&tdlib.InputMessagePhoto{
Photo: &tdlib.InputPhoto{
Photo: &tdlib.InputFileLocal{
Path: "./Meru_02.png",
},
},
},
},
})
if err != nil {
continue