Demian
a70d2204db
bot: fix root group handling
2020-09-15 18:12:43 +03:00
Demian
4062f24361
context: pass context to the OnError middleware
2020-07-26 00:07:58 +03:00
Demian
f1015d1754
middleware: basic implementation and groups
2020-07-25 23:55:01 +03:00
Demian
5a480bd291
Merge branch 'v2' into v3
2020-07-25 22:45:22 +03:00
Demian
5f6792d860
context: adapt handlers
2020-07-25 22:44:50 +03:00
PiggyMoe
2b4e7eeb65
util: fix param type for embedRights
2020-06-24 09:07:53 +08:00
Demian
5a1a187e87
telebot: clarify and fix all naming issues
2020-06-19 23:36:43 +03:00
Demian
98a898f4c7
bot: add default parse mode feature
2020-06-07 23:12:49 +03:00
Demian
c271d16dfc
bot: handle True response results
2020-05-31 19:11:42 +03:00
Orivej Desh
f95090faf1
bot: expose ProcessUpdate and add Synchronous handlers mode
...
Bot.ProcessUpdate in synchronous mode can be used as an AWS Lambda function.
2020-04-28 15:35:44 +00:00
Demian
4e2f28c4f3
bot: implement editMessageLiveLocation, update some documentation
2020-04-16 18:56:47 +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
unknown
e5789a08bb
Refactor unexported code
2020-04-06 16:04:25 +03:00
unknown
ce43c6a8a2
Refactor code, fix code style issues
2020-04-05 20:23:51 +03:00
Viktor Oreshkin
da7bc9e2ff
explicitly ignore error in embedRights
2019-12-26 02:25:20 +03:00
Viktor Oreshkin
6cf54c1557
Improve some loops (use copy, style fix)
2019-12-26 02:04:23 +03:00
evgendn
240965f18d
Add stickers methods
2019-07-29 23:04:52 +05:00
Ian Byrd
9b714b274c
reducing excessive deffered calls
2019-03-29 16:25:48 +02:00
Ian Byrd
42933c1912
small fixes, go.{mod,sum}
2019-03-29 16:25:48 +02:00
Viktor Oreshkin
273a40e72a
Send thumbnails (but not in albums)
2018-12-16 02:54:29 +03:00
Ulrich Schreiner
97e78127ad
fix lint errors in current code
2018-06-30 22:34:04 +02:00
Ian Byrd
389bcd3e65
Editting bot-issued messages doesn't return an error now.
2017-12-27 01:05:35 +02:00
Ian Byrd
bda24d8650
Possibly breaking some builds, but inline message IDs won't work
...
otherwise.
2017-12-27 00:39:15 +02:00
Ian Byrd
25672b8f68
Proper fix.
2017-12-19 02:15:29 +02:00
Ian Byrd
a629ec5c64
Revert "Reporting errors correctly."
...
This reverts commit 7ecf4bd6d5
.
2017-12-19 02:13:08 +02:00
Ian Byrd
7ecf4bd6d5
Reporting errors correctly.
2017-12-19 01:07:50 +02:00
Ian Byrd
b831116da3
Always copying passed options to protect callback data integrity.
2017-12-11 01:21:51 +02:00
Ian Byrd
426f436905
Fix for data-less inline buttons.
2017-12-11 00:32:08 +02:00
Ian Byrd
4f400f035e
Raw() method introduced. KeyboardButton -> ReplyButton.
2017-11-29 00:15:50 +02:00
Ian Byrd
38298d3e9d
Reporter: protection from in-handler panics.
2017-11-27 17:58:41 +02:00
Ian Byrd
5a73cee70a
Handle() now supports keyboard buttons as endpoints.
2017-11-27 16:19:42 +02:00
Ian Byrd
2a1158c03a
Revert "Protecting callbacks with callback guards."
...
This reverts commit 6f068bdacb
.
2017-11-26 09:57:58 +02:00
Ian Byrd
6f068bdacb
Protecting callbacks with callback guards.
2017-11-26 05:10:06 +02:00
Ian Byrd
eae6345b88
InlineButton became endpoint (callback handling.)
2017-11-26 04:33:28 +02:00
Ian Byrd
9aad0c4faa
OnAddedToGroup introduced.
2017-11-23 04:13:15 +02:00
Ian Byrd
091bbc9a13
Administration tools, this resolves #43 .
2017-11-21 17:29:44 +02:00
Ian Byrd
43be06e850
NewBot, Settings, Poller, LongPoller - new bot creation API.
2017-11-21 01:41:39 +02:00
Ian Byrd
0f1d521167
Cleanup, documentation, bikeshedding.
2017-11-19 17:21:25 +02:00
Ian Byrd
d5e4082eaf
New Edit() and EditCaption() methods are taking over.
...
IMO, we shouldn't be introducing distinct EditText/EditMarkup
methods because it just doesn't make sense, you can do both in
one and EditCaption is a pretty odd case so we live it be.
2017-11-19 03:44:31 +02:00
Ian Byrd
dbc2cd7f6d
Massive refactoring and file structure changes.
...
- Callback structs has been moved to callbacks.go
- User / Chat and its methods -> chat.go
- Concept of Editable and Message Signature introduced
- No more types.go, it's been refactored into media.go + friends
2017-11-18 15:06:20 +02:00
Ian Byrd
3cf300d59d
Documentation for latest changes.
2017-11-17 16:29:44 +02:00
Ian Byrd
9e92b919f8
Refining ReplyMarkup API.
2017-11-17 15:55:18 +02:00
Ian Byrd
6eec63ddbb
Delete() has been added.
2017-11-17 09:22:16 +02:00
Ian Byrd
ef59af6db7
Introducing Sendable interface (see #93.)
...
This commit refactors lots of duplicated code from bot.go, so
instead of having N redundant SendX methods, now it's the
responsibility of all Sendable objects to implement Send(..)
instead. Impl in types_send.go, 150 LOC only!
2017-11-17 08:20:36 +02:00