Commit Graph

393 Commits

Author SHA1 Message Date
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
Artem Siryk
cce5287f94 errors: renamed Error to ApiError; it now satiesfies error 2020-03-28 03:21:38 +00:00
Artem Siryk
0d3d5fdc94 errors: static error mappings introduced 2020-03-28 03:16:20 +00:00
Mikhail Borovikov
9852df39ae Add support parse_mode for albums photo 2020-03-01 03:12:13 +03:00
Eugene Bravov
4e97ab59b1
Make Animation Sendable 2020-02-29 15:34:33 +03:00
Eugene Bravov
bd69a13f32
Add animation to maeesage 2020-02-29 15:34:07 +03:00
Eugene Bravov
dcdaac918c
Add animation type 2020-02-29 15:33:48 +03:00
Ian P Badtrousers
209b6f88ca
Update README.md 2020-02-09 13:31:23 +01:00
Tobias Tangemann
b6c3367fed Fix OnMigration handler haven from=0 (#245)
Fixes tucnak/telebot/issues#187
2020-01-20 19:55:35 +03:00
demiangetman
40dabc4275 Add login_url field support to InlineButton 2019-12-28 14:01:17 +03:00
Viktor Oreshkin
baa616bc00 EditMedia: Fix possible thumb attach name conflict 2019-12-26 02:47:05 +03:00
Viktor Oreshkin
ddbfc934ff rename FileJson to FileJSON to make linter happy 2019-12-26 02:42:52 +03:00
Viktor Oreshkin
f4d7467b6e Rewrite IfElseChain to switch 2019-12-26 02:42:20 +03:00
Viktor Oreshkin
da7bc9e2ff explicitly ignore error in embedRights 2019-12-26 02:25:20 +03:00
Viktor Oreshkin
24589f3665 remove unused function (*Bot).handleCommand 2019-12-26 02:20:59 +03:00
Viktor Oreshkin
a67e593e35 GetFile: use b.client, check status code 2019-12-26 02:17:34 +03:00
Viktor Oreshkin
6cf54c1557 Improve some loops (use copy, style fix) 2019-12-26 02:04:23 +03:00
Viktor Oreshkin
cbcedf0c92 Fix sendFiles reader leak 2019-12-26 02:03:10 +03:00
Viktor Oreshkin
a770d6d951 Fix typos and misspells 2019-12-26 01:55:51 +03:00
demiangetman
11b34b3857 Add ReplyMarkup field to Message 2019-12-26 01:44:51 +03:00
Viktor Oreshkin
10b553411d Add options to EditCaption (incl ParseMode) (#230) 2019-12-26 01:44:01 +03:00
demiangetman
a855bcb241 Fix possible EditMedia sendOpts nil dereference 2019-12-26 01:40:46 +03:00
demiangetman
921282a488 Add ParseMode option support to EditMedia 2019-12-26 01:40:46 +03:00
Viktor Oreshkin
ca2149b44f Handle audio thumbnail in EditMedia 2019-12-26 01:21:11 +03:00
Viktor Oreshkin
00abc40b42
Add thumbnail to Audio (#240) 2019-12-22 08:07:00 +03:00
Ian P Badtrousers
4675004c6c
Merge pull request #237 from demget/feature-callback-inline
Callback's inline message
2019-12-22 07:06:04 +02:00