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
Ian Byrd
119a4e1698
Modified poller API, fixes #106 .
2017-11-27 14:52:16 +02:00
Ian Byrd
3329d98249
Completing regular API now.
2017-11-26 11:15:11 +02:00
Ian Byrd
5ba925eaba
Completing inline API, closing #104 .
2017-11-26 10:17:52 +02:00
Ian Byrd
2a1158c03a
Revert "Protecting callbacks with callback guards."
...
This reverts commit 6f068bdacb
.
2017-11-26 09:57:58 +02:00
Ian Byrd
31f0da895e
Graceful shutdown with Stop(), resolves #99 , #105
2017-11-26 05:40:49 +02:00
Ian Byrd
6f068bdacb
Protecting callbacks with callback guards.
2017-11-26 05:10:06 +02:00
Ian Byrd
eae6345b88
InlineButton became endpoint (callback handling.)
2017-11-26 04:33:28 +02:00
Ian Byrd
d6ef68605b
Complete list of endpoints is now supported (see const.)
2017-11-26 03:38:30 +02:00
Ian Byrd
af9f8f00da
Pin/Unpin methods added.
2017-11-26 02:44:32 +02:00
Ian Byrd
83eb527fe5
Albums added, this commit resolves #103 .
2017-11-25 16:22:13 +02:00
Ian Byrd
33e1846abd
Download() introduced.
2017-11-24 17:58:40 +02:00