Commit Graph

71 Commits (v3)

Author SHA1 Message Date
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