Update to TDLib 1.8.15
This commit is contained in:
parent
e722882047
commit
7a1c7f37a2
1420
client/function.go
1420
client/function.go
File diff suppressed because it is too large
Load diff
2624
client/type.go
2624
client/type.go
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
812
data/td_api.tl
812
data/td_api.tl
File diff suppressed because it is too large
Load diff
|
@ -87,7 +87,10 @@ func main() {
|
|||
})
|
||||
m, err := client.SendMessage(&tdlib.SendMessageRequest{
|
||||
ChatId: chatId,
|
||||
ReplyToMessageId: msgId,
|
||||
ReplyTo: &tdlib.MessageReplyToMessage{
|
||||
ChatId: chatId,
|
||||
MessageId: msgId,
|
||||
},
|
||||
InputMessageContent: &tdlib.InputMessageText{
|
||||
Text: text,
|
||||
},
|
||||
|
|
|
@ -98,7 +98,10 @@ func main() {
|
|||
})
|
||||
m, err := client.SendMessage(&tdlib.SendMessageRequest{
|
||||
ChatId: chatId,
|
||||
ReplyToMessageId: msgId,
|
||||
ReplyTo: &tdlib.MessageReplyToMessage{
|
||||
ChatId: chatId,
|
||||
MessageId: msgId,
|
||||
},
|
||||
InputMessageContent: &tdlib.InputMessageText{
|
||||
Text: text,
|
||||
},
|
||||
|
@ -110,7 +113,10 @@ func main() {
|
|||
case "/repeat":
|
||||
m, err := client.SendMessage(&tdlib.SendMessageRequest{
|
||||
ChatId: chatId,
|
||||
ReplyToMessageId: msgId,
|
||||
ReplyTo: &tdlib.MessageReplyToMessage{
|
||||
ChatId: chatId,
|
||||
MessageId: msgId,
|
||||
},
|
||||
InputMessageContent: &tdlib.InputMessageText{
|
||||
Text: &tdlib.FormattedText{Text: tdlib.CommandArgument(msgText)},
|
||||
},
|
||||
|
|
|
@ -98,7 +98,10 @@ func main() {
|
|||
})
|
||||
m, err := client.SendMessage(&tdlib.SendMessageRequest{
|
||||
ChatId: chatId,
|
||||
ReplyToMessageId: msgId,
|
||||
ReplyTo: &tdlib.MessageReplyToMessage{
|
||||
ChatId: chatId,
|
||||
MessageId: msgId,
|
||||
},
|
||||
InputMessageContent: &tdlib.InputMessagePhoto{
|
||||
Photo: &tdlib.InputFileLocal{
|
||||
Path: "./myht9-1486821485193084928.jpg",
|
||||
|
@ -117,7 +120,10 @@ func main() {
|
|||
})
|
||||
m, err := client.SendMessageAlbum(&tdlib.SendMessageAlbumRequest{
|
||||
ChatId: chatId,
|
||||
ReplyToMessageId: msgId,
|
||||
ReplyTo: &tdlib.MessageReplyToMessage{
|
||||
ChatId: chatId,
|
||||
MessageId: msgId,
|
||||
},
|
||||
InputMessageContents: []tdlib.InputMessageContent{
|
||||
&tdlib.InputMessagePhoto{
|
||||
Photo: &tdlib.InputFileLocal{
|
||||
|
|
|
@ -92,7 +92,10 @@ func main() {
|
|||
})
|
||||
m, err := client.SendMessage(&tdlib.SendMessageRequest{
|
||||
ChatId: chatId,
|
||||
ReplyToMessageId: msgId,
|
||||
ReplyTo: &tdlib.MessageReplyToMessage{
|
||||
ChatId: chatId,
|
||||
MessageId: msgId,
|
||||
},
|
||||
InputMessageContent: &tdlib.InputMessageText{
|
||||
Text: text,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue