mirror of
https://github.com/c0re100/gotdlib.git
synced 2026-07-25 00:54:59 +02:00
Update example
This commit is contained in:
parent
a2c9f63bac
commit
4fb03a806a
1 changed files with 12 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue