Commit Graph

618 Commits (26b0a55fe23a60a0d74ff73eb2411f38da2cc5d8)

Author SHA1 Message Date
Alexander Borsuk 5b3f2f3365 Added omitempty tag for clean JSON marshaling 2020-05-11 10:56:02 +02:00
Mendel E 303a66f022 Add ParseMode to InlineQueryResultPhoto 2020-04-26 00:30:21 -04: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 5e339ed016
Merge pull request #301 from blasphemy/sticker-unique-id
add file_unique_id to Sticker struct
2020-03-19 07:26:09 +03:00
Kirill Zhuharev b401ef076d
Merge pull request #310 from txgruppi/close-updates-chan-on-stop
Close updates chan on stop
2020-03-19 07:23:49 +03:00
Kirill Zhuharev afa296aeac
Merge pull request #275 from NemoD503/error_pointer
Return pointer to error.
2020-03-19 07:22:28 +03:00
Kirill Zhuharev e4edb03d74
Merge pull request #279 from hongshaoyang/patch-1
README: link to godoc
2020-03-19 07:21:57 +03:00
Kirill Zhuharev cf3ea3f80d
Merge pull request #304 from blasphemy/getstickerset2
add getStickerSet call
2020-03-19 07:14:48 +03:00
Kirill Zhuharev d1fd9b736c
Merge pull request #276 from NemoD503/go-versions
add new versions of golang to travis
2020-03-19 07:14:11 +03:00
Kirill Zhuharev 2d75cf8a3f
Merge pull request #247 from unstppbl/pr/deleteWebhook
closes #246
2020-03-19 07:13:15 +03:00
Kirill Zhuharev 8a6eeebcb1
Merge pull request #291 from vgxbj/patch-1
Document `NewMessageToChannel` clearer
2020-03-19 07:12:27 +03: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
Kirill Zhuharev 9fd8c1e76c
Merge pull request #274 from NemoD503/go_mod
Go mod was added
2020-03-19 07:09:43 +03:00
Kirill Zhuharev 1569b35611
Merge pull request #313 from AdelyaGarieva/master
Ability to create BotAPI instance directly with new API endpoint
2020-03-11 09:10:48 +03:00
Adelya b5d42143e7 Ability to create BotAPI instance directly with new API endpoint 2020-03-03 17:00:42 +03:00
CNA-Bld 4a76ae1bfb Create helper function WriteToHTTPResponse 2020-03-02 22:28:02 +08:00
Tarcisio Gruppi 706e70933d
Close updates chan on stop 2020-02-22 19:13:34 -03: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
Daniel Leining f44d515f71 add getStickerSet call 2020-02-01 01:46:24 -05: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
Daniel Leining fd860fdd66 add file_unique_id 2020-01-24 00:19:42 -05:00
Daniel Leining 81ccf0a8b2 Merge remote-tracking branch 'upstream/master' into inline-sticker 2020-01-19 16:10:09 -05:00
Jiayu Yi e0d9306d8b Include ResponseParameters in UploadFile error
This makes UploadFile behave more similarly to MakeRequest when the
response is not ok.
2020-01-13 22:09:05 +08:00
Jiayu Yi 69bab9a28f Add MaxConnections to WebhookInfo 2020-01-13 15:42:35 +08: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
Daniel Leining 87891c10fe add ability to respond to inline queries with stickers 2020-01-05 00:35:15 -05:00
Xing GUO d944d68fe6
Document `NewMessageToChannel` clearer 2019-12-31 14:38:21 +08:00
Dmitriy Kharchenko 7629a37f77 Added validation and error checking for incoming updates in ListenForWebhook 2019-12-10 08:05:12 +03:00
Shao Yang Hong 935e204b04
README: link to godoc 2019-10-25 11:47:24 +08:00
NemoD503 1af25a19c7 add new versions of golang to travis 2019-10-20 23:01:22 +03:00
NemoD503 a6b4ce46a6 return pointer to error 2019-10-20 22:47:21 +03:00
NemoD503 37eb2cb6be Go mod was added 2019-10-08 12:25:37 +03:00
gropher d4b2e3c213 Added HandleUpdate method for serverless deploy 2019-09-18 03:34:37 +03:00
Sergey 43b3f0ace1 Add helper for InlineKeyboardButtonLoginURL 2019-09-06 16:41:36 +03:00
Syfaro b33efeebc7
Merge pull request #248 from merothh/master
README: fix typo
2019-09-03 20:20:38 -05:00
nightghost aaaa278b56 My own bot is used to test the added functionality. 2019-09-02 18:44:35 +03:00
nightghost 696aebd64c Uploading photo to a channel functionality added. 2019-09-01 22:00:09 +03:00
rozha b478ff9669
Introduce NewOneTimeReplyKeyboard() helper function 2019-08-11 13:20:40 +03:00