Commit Graph

579 Commits

Author SHA1 Message Date
Demian
32532699c5 bot: implement bot commands methods 2020-04-26 15:55:04 +03:00
Demian
39752eaa89 docs: document poll functions 2020-04-26 15:42:48 +03:00
Demian
f3f71c27e0 bot: implement setChatPermissions method 2020-04-26 14:47:08 +03:00
Demian
993437ee5a admin: update admin-related methods and types 2020-04-26 14:46:48 +03:00
Demian
a96aa24503 chat: update all types 2020-04-26 14:13:06 +03:00
Demian
9087ce99d0 message: some clean-ups 2020-04-26 11:56:23 +03:00
Demian
2b18eaed4e telebot: move DefaultApiURL constant 2020-04-25 17:27:17 +03:00
Demian
add99b58a7 tests: properly handle errors and empty token 2020-04-25 17:21:19 +03:00
demget
81f4447261
Merge pull request #269 from godande/develop
Dice API support
2020-04-25 16:26:43 +03:00
dande
5b2a3804b5 dice: clean up the code 2020-04-25 16:25:20 +03:00
dande
9268c6dff7 dice: added constants 2020-04-25 15:59:53 +03:00
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