Demian
c46e31dff6
options: remove InlineKeyboardMarkup type
2022-01-21 23:02:19 +02:00
Demian
50783dccea
options: implement message entities option
2021-11-06 22:57:25 +02:00
Demian
888979b0fd
options: correct Split len formula
2021-08-30 02:22:09 +03:00
Demian
746f3d6668
options: replace variadic argument with a slice
2021-07-26 18:08:10 +03:00
demget
2d17e0e12c
Merge pull request #405 from DiscoreMe/develop
...
api: support 5.0
2021-07-25 15:25:04 +03:00
Demian
3281935f9c
options: add missed force reply option to the Placeholder
2021-07-23 20:19:12 +03:00
Demian
7a12453c8a
options: add input field placeholder option
2021-07-23 20:12:27 +03:00
Demian
cdad4e4816
options: implement markup Split
2020-11-16 01:42:55 +02:00
Demian
6d548640f2
options: add RemoveKeyboard option
2020-11-08 01:26:54 +02:00
renanzxc
8fe81bb3bf
Export row type
2020-11-03 22:18:07 +02:00
Demian
b10f986ba2
context: fix message selecting for callbacks
2020-09-26 18:58:00 +03:00
Demian
5a1a187e87
telebot: clarify and fix all naming issues
2020-06-19 23:36:43 +03:00
Demian
ddb943d598
tests: implement options test
2020-06-09 23:41:23 +03:00
Demian
f5f0b4b696
options: remove unused Action fields from buttons
2020-05-21 13:44:34 +03:00
Demian
0b3082a091
options: complete keyboard constructors
2020-05-21 13:38:06 +03:00
Demian
f82c0ec609
telebot: fix linter inspection problems
2020-05-21 12:02:35 +03:00
dande
ef00a90aef
options: go fmt
2020-05-13 19:55:06 +03:00
dande
ef05beb4e7
keyboards: fixed url and query constructors
2020-05-13 18:29:49 +03:00
dande
49a392391a
keyboards: added constructors
2020-05-13 18:21:07 +03:00
Ian Patrick Badtrousers
d7c155f97e
keyboards: simple constructors added
2020-05-13 03:33:12 +02:00
Demian
5c1986f5b5
telebot: a lot of refactor and clean-ups
2020-04-26 18:19:49 +03:00
Demian
9b11223d56
bot: complete Polls 2.0 API
2020-04-24 17:52:15 +03:00
unknown
0cfb922e9e
Update Action field in reply and inline buttons
2020-04-06 14:05:29 +03:00
Nikita Bikmaev
69f0836940
Implement sendPoll method
2020-03-30 19:21:06 +03:00
Viktor Oreshkin
6cf54c1557
Improve some loops (use copy, style fix)
2019-12-26 02:04:23 +03:00
Wolther47
84adedfefa
Add ReplyKeyboardRemove
2017-12-30 23:42:02 +08: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
b831116da3
Always copying passed options to protect callback data integrity.
2017-12-11 01:21:51 +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
0f1d521167
Cleanup, documentation, bikeshedding.
2017-11-19 17:21:25 +02:00
Ian Byrd
b6938a118c
Telebot now compiles! :-)
2017-11-18 16:44:57 +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
264d5cd726
Removed omitempty from struct that never gets marshalled.
2017-11-18 12:31:13 +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
d4f3a16377
KeyboardButton, InlineButton are now distinct types.
2017-11-17 15:37: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
Ian Byrd
127bf18d79
Optimizes SendOptions / ReplyMarkup.
2017-11-17 04:51:03 +02:00
Ian Byrd
6360f1f7d9
Refactoring, poor BC, closes #44 and probably resolves #41 .
...
- EntityType and ChatType enums introduced.
- Documentation fixes, struct refactoring.
- Poor BC, poor BC...
2016-11-10 22:04:50 +02:00
Steven Berlanga
72e84f5ab5
Adding support for inline keyboard buttons
2016-04-29 18:20:50 -04:00
Maxim Lebedev
896984e6ce
Add param for sends the message silently
...
Remove duplicate lines in structures, add global parameter, add tips for godoc
2016-03-13 17:20:59 +05:00
Ian Byrd
061a651188
This commit adds an inline mode implementation and resolves #28 .
...
Only article results supported so far.
2016-01-22 13:38:45 +02:00
Anton Volodin
761191f50a
Typo fix in ReplyMarkup structure
2015-10-13 17:33:14 +03:00
Ronmi Ren
32d0662cde
update documentation
2015-09-15 20:24:34 +08:00
Ronmi Ren
ab11be604a
Support new API: markdown message.
2015-09-14 11:18:03 +08:00
Ronmi Ren
cc123431f8
fix typo in json key
2015-08-24 11:43:57 +08:00
Ilya Kowalewski
0192b0946f
go fmt
2015-08-05 20:53:20 +03:00