Commit Graph

40 Commits

Author SHA1 Message Date
Anton Kucherov
538b671e6a fix #173 add custom Telegram api url 2018-12-13 01:45:03 +03:00
Diego Schulz
46ab1ff3d9
Set a unique string ID for each result in inline query Answer
It's needed to set a unique string ID for each result in inline query Answer. Otherwise you get an

```
api error: Bad request: RESULT_ID_DUPLICATE
```
2018-03-20 10:32:31 -03:00
Vivek Kartha
19ca6b7f46 Fixed a typo in readme 2018-02-11 14:46:17 +05:30
den
b12b5e220c
Fix typo 2018-01-08 19:41:00 +03:00
Jonas Bögle
3c44abd235
corrected button-handler example mentioned in #66
Doc: https://godoc.org/gopkg.in/tucnak/telebot.v2#Bot.Respond
2017-12-13 16:39:51 +01:00
Ian Byrd
a3451788c3
Update README.md 2017-12-06 22:08:45 +02:00
Ian Byrd
05c0aad070
Update README.md 2017-12-02 13:25:09 +02:00
Ian Byrd
a93491ba38
Update README.md 2017-11-30 11:01:52 +02:00
Ian Byrd
575fdda36c
Update README.md 2017-11-29 22:35:45 +02:00
Ian Byrd
47524101d5
Drafting README.md. 2017-11-29 00:27:23 +02:00
Ian Byrd
83eb527fe5
Albums added, this commit resolves #103. 2017-11-25 16:22:13 +02:00
Ian Byrd
79dccd7227
Endpoints for media introduced, Message.From -> Message.Sender 2017-11-24 17:24:07 +02:00
Ian Byrd
51ce032c7d
Update README.md 2017-11-24 15:26:11 +02:00
Ian Byrd
6b0a36e491
Update README.md 2017-11-21 15:26:59 +02:00
Ian Byrd
f823c31804
Update README.md 2017-11-21 14:57:32 +02:00
Ian Byrd
bb38a96232
Re-writing README, stage 1. 2017-11-21 14:55:46 +02:00
Ian Byrd
ddc9f75fb2
More documentation, little code changes. 2017-11-21 05:08:06 +02:00
Ian Byrd
2173ce9ad6
Documentation 2017-11-21 04:49:37 +02:00
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