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,8 +100,10 @@ func main() {
|
||||||
MessageId: msgId,
|
MessageId: msgId,
|
||||||
},
|
},
|
||||||
InputMessageContent: &tdlib.InputMessagePhoto{
|
InputMessageContent: &tdlib.InputMessagePhoto{
|
||||||
Photo: &tdlib.InputFileLocal{
|
Photo: &tdlib.InputPhoto{
|
||||||
Path: "./Meru_01.png",
|
Photo: &tdlib.InputFileLocal{
|
||||||
|
Path: "./Meru_01.png",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
Caption: text,
|
Caption: text,
|
||||||
},
|
},
|
||||||
|
|
@ -122,14 +124,18 @@ func main() {
|
||||||
},
|
},
|
||||||
InputMessageContents: []tdlib.InputMessageContent{
|
InputMessageContents: []tdlib.InputMessageContent{
|
||||||
&tdlib.InputMessagePhoto{
|
&tdlib.InputMessagePhoto{
|
||||||
Photo: &tdlib.InputFileLocal{
|
Photo: &tdlib.InputPhoto{
|
||||||
Path: "./Meru_01.png",
|
Photo: &tdlib.InputFileLocal{
|
||||||
|
Path: "./Meru_01.png",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
Caption: text,
|
Caption: text,
|
||||||
},
|
},
|
||||||
&tdlib.InputMessagePhoto{
|
&tdlib.InputMessagePhoto{
|
||||||
Photo: &tdlib.InputFileLocal{
|
Photo: &tdlib.InputPhoto{
|
||||||
Path: "./Meru_02.png",
|
Photo: &tdlib.InputFileLocal{
|
||||||
|
Path: "./Meru_02.png",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue