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
Ronmi Ren
e89b28808b
Support custom keyboard
2015-07-31 15:56:02 +08:00
Ilya Kowalewski
fb0e91451e
Significant API change, send options added
2015-07-06 16:46:51 +03:00