Commit Graph

18 Commits

Author SHA1 Message Date
profawk
e6c93d3fdb
Fix inlinebutton With func
the InlineButton With func returned a new button with it's url property mangled (t.Text instead of t.URL)
this caused telegram to respoind with 400
2020-10-01 23:08:18 +03:00
Demian
d02458be27 options: implement CallbackEndpoint for Btn 2020-05-22 14:52:25 +03:00
Demian
f5f0b4b696 options: remove unused Action fields from buttons 2020-05-21 13:44:34 +03:00
Demian
f82c0ec609 telebot: fix linter inspection problems 2020-05-21 12:02:35 +03:00
Demian
16e74b8025 payments: complete shipping API 2020-05-20 23:40:42 +03:00
Ian Patrick Badtrousers
d7c155f97e keyboards: simple constructors added 2020-05-13 03:33:12 +02:00
unknown
0cfb922e9e Update Action field in reply and inline buttons 2020-04-06 14:05:29 +03:00
demiangetman
40dabc4275 Add login_url field support to InlineButton 2019-12-28 14:01:17 +03:00
demiangetman
f286f15c03 Implement IsInline helper function 2019-12-08 11:57:24 +03:00
demiangetman
7631100db9 Add switch_inline_query_current_chat field to InlineButton 2019-09-30 18:37:19 +03:00
Ian Byrd
62ac17dbc9
JSON fix for buttons. 2017-12-12 01:30:05 +02:00
Ian Byrd
a2d28e604d
Minor API changes. 2017-12-12 00:27:09 +02:00
Ian Byrd
bdd5916b83
Callbacks fixed for both button types. 2017-12-10 20:51:43 +02:00
Ian Byrd
4f400f035e
Raw() method introduced. KeyboardButton -> ReplyButton. 2017-11-29 00:15:50 +02:00
Ian Byrd
5a73cee70a
Handle() now supports keyboard buttons as endpoints. 2017-11-27 16:19:42 +02:00
Ian Byrd
eae6345b88
InlineButton became endpoint (callback handling.) 2017-11-26 04:33:28 +02:00
Ian Byrd
612ab345bd Improved inline API. TODO proper result types. 2017-11-24 16:11:07 +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