Ulrich Schreiner
07aeab1abb
add implementation for a webhook poller
2018-06-30 22:21:37 +02:00
Ian Byrd
743778f69e
Merge pull request #135 from devandsev/voice-handlers-fix
...
Fix voice handlers not firing
2018-06-03 13:11:04 +03:00
Andrey Sevrikov
10a33dd585
Fix voice handlers not firing
2018-04-24 18:46:07 +03:00
Ian Byrd
ab26c41a13
Merge pull request #132 from sigurniv/custom-http-client
...
Custom HTTP clients.
2018-04-18 21:57:23 +03:00
sigurniv
78f08282d7
fixed indentation
2018-04-18 21:17:03 +03:00
sigurniv
5f938b2a7a
add option to pass custom http.Client to tb.NewBot() in case of proxying and other needs
2018-04-18 16:42:18 +03:00
Ian Byrd
2a7e9045d0
Merge pull request #128 from dschulz/patch-1
...
Set a unique string ID for each result in inline query Answer
2018-04-01 17:45:54 +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
Ian Byrd
2414620038
Merge pull request #124 from vivekkartha/v2
...
Fixed a typo in readme
2018-02-12 01:26:37 +02:00
Vivek Kartha
19ca6b7f46
Fixed a typo in readme
2018-02-11 14:46:17 +05:30
Ian Byrd
2cebf54e14
Merge pull request #118 from damner/patch-1
...
Fix typo
2018-01-17 17:52:58 +02:00
Ian Byrd
2025c104e6
Merge pull request #119 from irgendwr/patch-4
...
simplified unnecessary if
2018-01-17 17:52:33 +02:00
den
b12b5e220c
Fix typo
2018-01-08 19:41:00 +03:00
Ian Byrd
fd49f3f260
Merge pull request #116 from wolther47/v2
...
Add ReplyKeyboardRemove
2017-12-31 00:19:43 +02:00
Ian Byrd
c2b7ed0ea1
Merge pull request #115 from JackSpera/v2
...
Fixed could not send message to private channel
2017-12-31 00:19:10 +02:00
Wolther47
84adedfefa
Add ReplyKeyboardRemove
2017-12-30 23:42:02 +08:00
Giovanni Spera
5513a66463
Fixed could not send message to private channel
2017-12-30 13:08:44 +01:00
Ian Byrd
389bcd3e65
Editting bot-issued messages doesn't return an error now.
2017-12-27 01:05:35 +02:00
Ian Byrd
3f24832170
Fix for a silly typo.
2017-12-27 00:46:50 +02:00
Ian Byrd
bda24d8650
Possibly breaking some builds, but inline message IDs won't work
...
otherwise.
2017-12-27 00:39:15 +02:00
Ian Byrd
f704eefacf
ChosenInlineResult.
2017-12-26 03:15:10 +02:00
Ian Byrd
7d18e51f6f
Merge pull request #112 from m1ome/fix-defer-for
...
Fixed defer in for loop.
2017-12-26 02:11:08 +02:00
Ian Byrd
8060e4caa3
Merge pull request #113 from irgendwr/fix-IsForwarded
...
IsForwarded() fixed.
2017-12-26 02:09:44 +02:00
Jonas Bögle
933b28f94e
fixed IsForwarded()
...
reverts a tiny change from dbc2cd7f6
, we need to check both fields because:
- m.OriginalChat is nil when message is not forwarded from a channel
- m.OriginalSender can be nil if the message is forwarded from a channel
(doc: https://core.telegram.org/bots/api#message )
2017-12-25 13:34:09 +01:00
Jonas Bögle
f2812ea814
simplified unnecessary if
...
You can remove this if and just directly return err since it's nil if there is no error
2017-12-25 13:07:57 +01:00
Pavel Makarenko
1175eafe1c
Fixed for in loop
2017-12-25 14:50:21 +03:00
Ian Byrd
25672b8f68
Proper fix.
2017-12-19 02:15:29 +02:00
Ian Byrd
a629ec5c64
Revert "Reporting errors correctly."
...
This reverts commit 7ecf4bd6d5
.
2017-12-19 02:13:08 +02:00
Ian Byrd
7ecf4bd6d5
Reporting errors correctly.
2017-12-19 01:07:50 +02:00
Ian Byrd
5d67349921
Filters.
2017-12-17 14:43:26 +02:00
Ian Byrd
1c2515c54f
Merge pull request #111 from irgendwr/patch-3
...
Corrected button-handler example mentioned in #66
2017-12-15 12:24:39 +02: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
62ac17dbc9
JSON fix for buttons.
2017-12-12 01:30:05 +02:00
Ian Byrd
a2d28e604d
Minor API changes.
2017-12-12 00:27:09 +02:00
Ian Byrd
b831116da3
Always copying passed options to protect callback data integrity.
2017-12-11 01:21:51 +02:00
Ian Byrd
426f436905
Fix for data-less inline buttons.
2017-12-11 00:32:08 +02:00
Ian Byrd
bdd5916b83
Callbacks fixed for both button types.
2017-12-10 20:51:43 +02:00
Ian Byrd
ea69d21d70
MiddlewarePoller's Filter field is now exported.
2017-12-10 16:19:54 +02:00
Ian Byrd
0e5915f6e1
Merge pull request #108 from martoche/v2
...
Fixes a nil pointer dereference
2017-12-08 13:43:37 +02:00
Martin Ottenwaelter
6adfa4be13
Fixes a nil pointer dereference by checking a nil value for the
...
OnAddedToGroup handler.
2017-12-08 12:09:32 +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
77d1ba9eb1
Inline mode fix.
2017-11-29 22:31:07 +02:00
Ian Byrd
47524101d5
Drafting README.md.
2017-11-29 00:27:23 +02:00
Ian Byrd
4f400f035e
Raw() method introduced. KeyboardButton -> ReplyButton.
2017-11-29 00:15:50 +02:00
Ian Byrd
38298d3e9d
Reporter: protection from in-handler panics.
2017-11-27 17:58:41 +02:00
Ian Byrd
4cf58f4c5b
Automatic command payload handling.
2017-11-27 16:56:22 +02:00
Ian Byrd
5a73cee70a
Handle() now supports keyboard buttons as endpoints.
2017-11-27 16:19:42 +02:00