mirror of
https://github.com/c0re100/gotdlib.git
synced 2026-07-24 16:45:01 +02:00
Update example
This commit is contained in:
parent
a2c9f63bac
commit
4fb03a806a
1 changed files with 12 additions and 6 deletions
|
|
@ -100,8 +100,10 @@ func main() {
|
|||
MessageId: msgId,
|
||||
},
|
||||
InputMessageContent: &tdlib.InputMessagePhoto{
|
||||
Photo: &tdlib.InputFileLocal{
|
||||
Path: "./Meru_01.png",
|
||||
Photo: &tdlib.InputPhoto{
|
||||
Photo: &tdlib.InputFileLocal{
|
||||
Path: "./Meru_01.png",
|
||||
},
|
||||
},
|
||||
Caption: text,
|
||||
},
|
||||
|
|
@ -122,14 +124,18 @@ func main() {
|
|||
},
|
||||
InputMessageContents: []tdlib.InputMessageContent{
|
||||
&tdlib.InputMessagePhoto{
|
||||
Photo: &tdlib.InputFileLocal{
|
||||
Path: "./Meru_01.png",
|
||||
Photo: &tdlib.InputPhoto{
|
||||
Photo: &tdlib.InputFileLocal{
|
||||
Path: "./Meru_01.png",
|
||||
},
|
||||
},
|
||||
Caption: text,
|
||||
},
|
||||
&tdlib.InputMessagePhoto{
|
||||
Photo: &tdlib.InputFileLocal{
|
||||
Path: "./Meru_02.png",
|
||||
Photo: &tdlib.InputPhoto{
|
||||
Photo: &tdlib.InputFileLocal{
|
||||
Path: "./Meru_02.png",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue