Commit Graph

518 Commits

Author SHA1 Message Date
dande
3915e8596b dice: fixed dice handling 2020-04-25 15:31:16 +03:00
dande
ab0c9a7060 dice: added dice support 2020-04-25 14:41:48 +03:00
Demian
5b36ece031 tests: add USER_ID param for some special cases 2020-04-24 17:59:44 +03:00
Demian
9b11223d56 bot: complete Polls 2.0 API 2020-04-24 17:52:15 +03:00
Demian
299838450e tests: implement b.EditReplyMarkup() function test 2020-04-23 21:56:27 +03:00
Demian
ad254b61d9 errors: add ErrButtonDataInvalid 2020-04-23 21:55:52 +03:00
Demian
5b25d14c17 webhook: some documentation here 2020-04-18 22:12:31 +03:00
Demian
cd60af84ec webhook: expose SetWebhook method
Fixes #265
2020-04-18 21:54:15 +03:00
Demian
10e571b9a1 update .travis.yml 2020-04-16 19:26:54 +03:00
Demian
7fe841183e tests: implement b.Edit() function test 2020-04-16 18:57:28 +03:00
Demian
4e2f28c4f3 bot: implement editMessageLiveLocation, update some documentation 2020-04-16 18:56:47 +03:00
Demian
1654a203ea bot: check recipient for nil to avoid panics 2020-04-16 17:57:16 +03:00
Demian
784432503e tests: implement b.Send() function test 2020-04-16 17:52:15 +03:00
Demian
855f6edfce tests: fix callback test 2020-04-16 17:03:59 +03:00
unknown
18d73fe70c Merge branch 'v2' into develop 2020-04-16 16:50:10 +03:00
Viktor Oreshkin
f096d2b1ad unconvert ParseMode string cast 2020-04-16 10:17:17 +03:00
demiangetman
3beea1c055 Update inline query result types 2020-04-16 10:09:25 +03:00
unknown
6963f15b2f Add codecov to README.md 2020-04-06 23:12:35 +03:00
unknown
7755359735 Implement bot incomingUpdate function tests 2020-04-06 23:02:46 +03:00
unknown
51a26d93ce Refactor incomingUpdate function 2020-04-06 22:27:58 +03:00
unknown
6c7cbaa7e3 Implement RemoveWebhook (closes #214) 2020-04-06 16:04:57 +03:00
unknown
e5789a08bb Refactor unexported code 2020-04-06 16:04:25 +03:00
unknown
4cab32f46e Fire OnPinned for channel post (closes #244) 2020-04-06 14:22:01 +03:00
unknown
0cfb922e9e Update Action field in reply and inline buttons 2020-04-06 14:05:29 +03:00
unknown
fcff7569ac Implement bot Handle and Start functions tests 2020-04-06 12:57:18 +03:00
unknown
32de86819c Update Handle documentation 2020-04-06 11:40:31 +03:00
unknown
a8e038940f Rename AddAnswers to AddOptions 2020-04-06 11:37:56 +03:00
unknown
028a85b4f2 Implement Raw function tests 2020-04-05 22:42:07 +03:00
unknown
60ae6d2cf6 Change errors wrapping in Raw 2020-04-05 22:41:05 +03:00
unknown
b9700ba874 Rename errors to make it more clearer 2020-04-05 22:09:40 +03:00
unknown
fc3a284fb2 Implement basic bot tests 2020-04-05 21:32:38 +03:00
unknown
f201a9f4ba Update getMe function 2020-04-05 21:29:45 +03:00
unknown
c04b55dcba Add missed api errors 2020-04-05 21:29:05 +03:00
unknown
ce43c6a8a2 Refactor code, fix code style issues 2020-04-05 20:23:51 +03:00
unknown
361c4399f8 Update global constants 2020-04-05 19:31:19 +03:00
demget
d94992a3a6
Merge pull request #257 from DiscoreMe/poll
Implement poll API
2020-03-31 00:06:09 +03:00
Nikita Bikmaev
66e7021870 Move a code to sendable.go and update the README.md 2020-03-31 00:04:16 +03:00
Nikita Bikmaev
4b74a0ebcc Fix documentation 2020-03-30 19:37:41 +03:00
Nikita Bikmaev
69f0836940 Implement sendPoll method 2020-03-30 19:21:06 +03:00
Nikita Bikmaev
c239db7dfa Add poll object 2020-03-30 15:16:18 +03:00
Ian Patrick Badtrousers
3458aeb2e7 Revert "MarkdownV2 as default, use MarkdownLegacy for old-fashioned MD."
This reverts commit 12299becfa.
2020-03-29 14:59:27 +02:00
Ian Patrick Badtrousers
12299becfa MarkdownV2 as default, use MarkdownLegacy for old-fashioned MD. 2020-03-29 01:49:17 +01:00
Ian P Badtrousers
16baf678a5
Merge pull request #241 from demget/feature-login
Add login_url field support to InlineButton
2020-03-29 01:35:34 +01:00
Ian P Badtrousers
74866a0de6
Merge pull request #250 from fullpipe/add-animation
Add sendAnimation
2020-03-29 01:33:08 +01:00
Ian P Badtrousers
7effb4845c
Merge pull request #256 from kn100/patch-1
Spellcheck/reword
2020-03-29 01:31:40 +01:00
Kevin
a31b67f32c
spellcheck/reword
I wanted to read the entire readme for this as I am planning on using it - so I thought I'd spellcheck/reword at the same time!
2020-03-28 23:35:23 +00:00
Ian P Badtrousers
dd123e949e
Merge pull request #255 from p3nt3st3rPrise/v2
API errors can now be differentiated via a set of static errors.
2020-03-28 02:41:18 +01:00
Artem
d821e6b78d go fmt 2020-03-28 03:28:28 +00:00
Artem
86209d10af errors: removed excessive debug statements 2020-03-28 03:27:36 +00:00
Artem
97291ef25b errors: switch differentiation in bot.Raw() 2020-03-28 03:26:26 +00:00