Commit graph

419 commits

Author SHA1 Message Date
TJ Horner
3b5c8a96d7 Add allowed_updates to GetUpdates 2021-03-09 15:52:22 -05:00
Syfaro
24d4f79474 Updates for Bot API 5.1. 2021-03-09 12:27:17 -05:00
Syfaro
4064ced03f Add some tests, fix copyMessage. 2020-11-06 12:36:00 -05:00
Syfaro
24e02f7ba6 Merge branch 'develop' into bot-api-5.0 2020-11-06 00:18:30 -05:00
Syfaro
366879b110 Merge branch 'master' into develop 2020-11-05 23:29:48 -05:00
Syfaro
ac5306ce0c Updates for Bot API 5.0. 2020-11-05 16:53:37 -05:00
Syfaro
18c023f584
Merge pull request #359 from go-telegram-bot-api/github-actions
Attempt to use GitHub Actions
2020-11-05 11:02:01 -08:00
Syfaro
b52a9399c9 Fix Imgur issue. 2020-11-05 13:58:19 -05:00
Syfaro
e6e2a9f3ef Update Go version, fix duplicate runs. 2020-11-05 13:48:39 -05:00
Syfaro
67c5217394 Attempt to use GitHub Actions. 2020-07-26 23:07:24 -05:00
Syfaro
2f7211a708 Updates for Bot API 4.9. 2020-07-23 17:13:53 -05:00
Syfaro
e599156631 Tidy go mod files. 2020-07-23 17:09:15 -05:00
Syfaro
4acb1cebba
Merge pull request #321 from ErrorBoi/cleanup-bot-test
Cleanup bot test
2020-07-23 14:12:36 -05:00
Syfaro
9d3974d340
Merge pull request #261 from zergon321/add-photo-upload-channel
Uploading a new photo to a channel functionality added.
2020-07-22 05:00:28 -05:00
Syfaro
5598dbcb90 Remove old Go versions from Travis.
(cherry picked from commit dff2120d96)
2020-07-22 04:42:58 -05:00
Syfaro
6b0d3ce2a6 Fix some lints. 2020-07-21 14:20:12 -05:00
Jiayu Yi
458a89724a Change assertion failure message
(cherry picked from commit 5c5e96de34)
2020-07-21 14:17:37 -05:00
Jiayu Yi
c87d4110af Mark WebhookInfo.MaxConnections as optional
(cherry picked from commit 64517d16e7)
2020-07-21 14:17:29 -05:00
Jiayu Yi
ca09b25f8c Add MaxConnections to WebhookInfo
(cherry picked from commit 69bab9a28f)
2020-07-21 14:17:22 -05:00
Daniel Leining
1930c25aa6 add ability to respond to inline queries with stickers
(cherry picked from commit 87891c10fe)
2020-07-21 14:13:37 -05:00
maria.bagdasarova
bd27dae566 Fix nil pointer on User String method
(cherry picked from commit 74925cfcaf)
2020-07-21 14:09:48 -05:00
Syfaro
1bdfd4d5e6 Update comment on NewOneTimeReplyKeyboard.
(cherry picked from commit ce395c2286)
2020-07-21 14:06:35 -05:00
rozha
49a467b7c4 Introduce NewOneTimeReplyKeyboard() helper function
(cherry picked from commit b478ff9669)
2020-07-21 14:06:35 -05:00
an.groshev
4f6c0f14db add MarkdownV2
(cherry picked from commit dc71b50b19)
2020-07-21 14:04:03 -05:00
Syfaro
50bcf10f7e Update sendDice helpers. 2020-07-21 14:04:01 -05:00
ros-tel
1059fc759d Delete a message in a channel
(cherry picked from commit 86a3d94b4b)
2020-07-21 13:53:29 -05:00
Syfaro
63cbbdc63c Add missing chat action constants. 2020-07-21 13:46:14 -05:00
gropher
ca07bb78e4 Added HandleUpdate method for serverless deploy
(cherry picked from commit d4b2e3c213)
2020-07-21 13:42:55 -05:00
Syfaro
ab39746be5
Replace test channel ID. 2020-07-21 02:28:39 -05:00
Syfaro
da98517cd2
Merge pull request #210 from overplumbum/develop
fix add sticker to stickerset uploads by url and fileId
2020-07-21 01:48:35 -05:00
Kirill Zhuharev
38c2cb18ed
Merge pull request #336 from biodranik/improvements
Added omitempty tag for clean JSON marshaling
2020-05-24 13:52:46 +03:00
Alexander Borsuk
5b3f2f3365 Added omitempty tag for clean JSON marshaling 2020-05-11 10:56:02 +02:00
Syfaro
774f1e72e7 Updates for Bot API 4.8. 2020-04-24 13:18:26 -05:00
Mikhail Slabchenko
53dec076c1 removed redundant t.Fail() from bot_test.go 2020-04-07 02:13:24 +03:00
Syfaro
75e27e1380 Updates for Bot API 4.7. 2020-03-30 15:35:53 -05:00
Kirill Zhuharev
6ce4ec747d
Merge pull request #312 from CNA-Bld/write-to-http-response
Create helper function WriteToHTTPResponse
2020-03-19 07:10:24 +03:00
CNA-Bld
4a76ae1bfb Create helper function WriteToHTTPResponse 2020-03-02 22:28:02 +08:00
Kirill Zhuharev
047d735655
Merge pull request #305 from AlessandroPomponio/animation-unique-id
Add FileUniqueID to ChatAnimation
2020-02-16 19:02:04 +03:00
Kirill Zhuharev
b16df76f2e
Merge pull request #307 from go-telegram-bot-api/resolve-develop-conflicts
Resolve develop conflicts
2020-02-15 17:17:37 +03:00
zhuharev
6fcca60571 Fix old package import 2020-02-15 16:19:31 +03:00
zhuharev
b40fac9202 Resolve develop and master conflicts 2020-02-15 16:08:58 +03:00
Alessandro Pomponio
e18071bed1 Add FileUniqueID to ChatAnimation (ref. https://core.telegram.org/bots/api#animation) 2020-02-08 09:02:23 +01:00
Syfaro
3635031d74
Merge pull request #302 from tjhorner/polls
Bot API 4.6: Polls 2.0, misc. changes
2020-01-26 22:32:56 -06:00
TJ Horner
ddf0d3631b Use Params#AddBool for is_closed 2020-01-24 22:44:44 -05:00
TJ Horner
5aaa0b2d03 Bot API 4.6: Polls 2.0, misc. changes 2020-01-24 22:42:19 -05:00
Syfaro
aa124ef1e8
Merge pull request #294 from mkishere/inline-venue
Add inline venue type
2020-01-13 00:30:19 -06:00
Syfaro
194446470b
Merge pull request #297 from chuhlomin/patch-1
Add `is_animated` field to Sticker struct
2020-01-13 00:29:58 -06:00
Konstantin Chukhlomin
613005ba7b
Update types.go
Added IsAnimated to Sticker struct
2020-01-12 23:54:08 -05:00
mkishere
1f98cd2e47 Add inline venue type 2020-01-07 00:28:13 +08:00
Syfaro
5ce2767dad Updates for Bot API 4.4 and 4.5. 2020-01-06 01:44:13 -06:00