Commit Graph

59 Commits

Author SHA1 Message Date
demget
03976a572d
Merge pull request #414 from omar-polo/fix-doc
Some documentation fixes
2021-06-29 15:50:27 +03:00
Omar Polo
336b5da405 include the namespace "tb" in the example 2021-06-28 18:45:11 +00:00
Omar Polo
aca03c5e5d sync Editable interface
MessageSig needs to return (string, int64) NOT (int, int64)
2021-06-28 18:41:18 +00:00
Ian P Badtrousers
82f9cc364e
Update README.md 2021-06-23 13:18:35 +02:00
Ian P Badtrousers
d00286fbd4
Bwahahahahaha 2021-05-25 14:03:07 +02:00
Ian P Badtrousers
5492c2fb62
Update README.md 2021-03-27 09:39:10 +01:00
Demian
f5ff424b8f readme: add telegram discuss group 2021-01-23 15:32:49 +02:00
Demian
76430783a7 readme: update Keyboards section 2020-05-22 14:52:56 +03:00
Demian
d4ff86a5dc readme: fix indentations 2020-05-21 12:04:13 +03:00
Demian
f82c0ec609 telebot: fix linter inspection problems 2020-05-21 12:02:35 +03:00
demget
6c937ddd0f
Merge pull request #286 from klim0v/patch-1
small fix docs
2020-05-20 22:35:29 +03:00
Klimov Sergey
d4df031910
small fix docs
fix sample declaration descriptor for incoming inline queries
2020-05-11 01:55:56 +03:00
Orivej Desh
9b17d93350 examples: add awslambdaechobot 2020-05-01 18:38:54 +00:00
Demian
288a550d27 readme: update codecov badge 2020-04-27 22:35:16 +03:00
Demian
31407f29bf update readme 2020-04-26 21:48:20 +03:00
unknown
6963f15b2f Add codecov to README.md 2020-04-06 23:12:35 +03:00
Nikita Bikmaev
66e7021870 Move a code to sendable.go and update the README.md 2020-03-31 00:04:16 +03:00
Kevin
a31b67f32c
spellcheck/reword
I wanted to read the entire readme for this as I am planning on using it - so I thought I'd spellcheck/reword at the same time!
2020-03-28 23:35:23 +00:00
Ian P Badtrousers
209b6f88ca
Update README.md 2020-02-09 13:31:23 +01:00
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