Commit Graph

22 Commits

Author SHA1 Message Date
Ian Byrd
9e92b919f8
Refining ReplyMarkup API. 2017-11-17 15:55:18 +02:00
Ian Byrd
6eec63ddbb
Delete() has been added. 2017-11-17 09:22:16 +02:00
Ian Byrd
c1fcf065ae
Adjusted README.md for the changes 2017-11-17 08:41:48 +02:00
Ian Byrd
276daa0732
README.md bikeshedding. 2016-11-10 21:32:23 +02:00
Juan Julián Merelo Guervós
41796c460e README.md improved from newcomers' perspective (#65) 2016-09-24 14:54:43 +03:00
Peng-Jie
d8ceddd66c Add missing log package 2016-08-22 10:44:11 +08:00
Nick Groenen
852bebcd6f Fix inline bot example in README
Closes #52
2016-07-02 13:04:42 +02:00
Nick Groenen
46992b037b Improve support for inline queries
These changes make it possible to set custom options when responding to
inline queries, as described on
https://core.telegram.org/bots/api#answerinlinequery.

It also includes all the (non-cached) inline result types as described
at https://core.telegram.org/bots/api#inlinequeryresult.

Some remarks:
* The internals of sendCommand have changed. It now expects a
  JSON-serializable object. Instead of doing GET requests with
  URL-encoded query parameters it now POSTS JSON directly.
* Because of the above, sendFile() has changed as well. It now expects a
* `map[string]string` which it will internally convert to URL encoded
  form values.
* Respond has been deprecated in favor of the new AnswerInlineQuery
  function. It is only kept for backward compatibility.
* A dependency on https://github.com/mitchellh/hashstructure has been
  introduced in order to generate automatic IDs for inline results.
2016-06-26 16:33:16 +02:00
Ian Byrd
ce6937b17c
i'm dumb... 2016-01-22 15:03:58 +02:00
Ian Byrd
d181b4fd01
Fixed a wrong code listing 2016-01-22 14:47:41 +02: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
Alexander
bd05f8e4f7 Fix README example 2015-11-03 18:12:22 +03:00
Ilya Kowalewski
613d4d239e Funky travis button added 2015-10-15 17:57:47 +03:00
Amir Ali Omidi
36ffa89aa6 Update README.md
Fixed the SendAudio documentation
2015-09-01 02:00:13 +04:30
Ilya Kowalewski
fb0e91451e Significant API change, send options added 2015-07-06 16:46:51 +03:00
Ilya Kowalewski
e041242bb2 Fixed a bunch of lint issues 2015-07-03 21:58:29 +03:00
Ilya Kowalewski
58956e3905 Update README to cover new features 2015-07-03 19:59:03 +03:00
Ilya Kowalewski
8025e90746 Update README.md 2015-06-28 00:03:23 +03:00
Ilya Kowalewski
fa51650dad A little more documentation, code cleanup 2015-06-27 18:55:12 +03:00
Ilya Kowalewski
dbcd156645 Self-handshaking test (still failing) 2015-06-27 14:38:23 +03:00
Ilya Kowalewski
37f537bfab Minor documentation fixes 2015-06-25 22:43:19 +03:00
llya Kowalewski
45451c0de3 Initial commit 2015-06-25 22:27:50 +03:00