Commit Graph

37 Commits (f82c0ec609cef72e259278aa362424c0e489ddc7)

Author SHA1 Message Date
Demian f82c0ec609 telebot: fix linter inspection problems 4 years ago
dande ef00a90aef options: go fmt 4 years ago
dande ef05beb4e7 keyboards: fixed url and query constructors 4 years ago
dande 49a392391a keyboards: added constructors 4 years ago
Ian Patrick Badtrousers d7c155f97e keyboards: simple constructors added 4 years ago
Demian 5c1986f5b5 telebot: a lot of refactor and clean-ups 4 years ago
Demian 9b11223d56 bot: complete Polls 2.0 API 4 years ago
unknown 0cfb922e9e Update Action field in reply and inline buttons 4 years ago
Nikita Bikmaev 69f0836940 Implement sendPoll method 4 years ago
Viktor Oreshkin 6cf54c1557 Improve some loops (use copy, style fix) 5 years ago
Wolther47 84adedfefa
Add ReplyKeyboardRemove 7 years ago
Ian Byrd 62ac17dbc9
JSON fix for buttons. 7 years ago
Ian Byrd a2d28e604d
Minor API changes. 7 years ago
Ian Byrd b831116da3
Always copying passed options to protect callback data integrity. 7 years ago
Ian Byrd 4f400f035e
Raw() method introduced. KeyboardButton -> ReplyButton. 7 years ago
Ian Byrd 5a73cee70a
Handle() now supports keyboard buttons as endpoints. 7 years ago
Ian Byrd eae6345b88
InlineButton became endpoint (callback handling.) 7 years ago
Ian Byrd 0f1d521167
Cleanup, documentation, bikeshedding. 7 years ago
Ian Byrd b6938a118c
Telebot now compiles! :-) 7 years ago
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
7 years ago
Ian Byrd 264d5cd726
Removed omitempty from struct that never gets marshalled. 7 years ago
Ian Byrd 3cf300d59d
Documentation for latest changes. 7 years ago
Ian Byrd 9e92b919f8
Refining ReplyMarkup API. 7 years ago
Ian Byrd d4f3a16377
KeyboardButton, InlineButton are now distinct types. 7 years ago
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!
7 years ago
Ian Byrd 127bf18d79
Optimizes SendOptions / ReplyMarkup. 7 years ago
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...
8 years ago
Steven Berlanga 72e84f5ab5 Adding support for inline keyboard buttons 8 years ago
Maxim Lebedev 896984e6ce Add param for sends the message silently
Remove duplicate lines in structures, add global parameter, add tips for godoc
8 years ago
Ian Byrd 061a651188
This commit adds an inline mode implementation and resolves #28.
Only article results supported so far.
9 years ago
Anton Volodin 761191f50a Typo fix in ReplyMarkup structure 9 years ago
Ronmi Ren 32d0662cde update documentation 9 years ago
Ronmi Ren ab11be604a Support new API: markdown message. 9 years ago
Ronmi Ren cc123431f8 fix typo in json key 9 years ago
Ilya Kowalewski 0192b0946f go fmt 9 years ago
Ronmi Ren e89b28808b Support custom keyboard 9 years ago
Ilya Kowalewski fb0e91451e Significant API change, send options added 9 years ago