Commit Graph

639 Commits (9a08d98f4ee7e5e5ee2950bd0ce8dd7cc8fdacc3)
 

Author SHA1 Message Date
Ian Byrd 743778f69e
Merge pull request #135 from devandsev/voice-handlers-fix
Fix voice handlers not firing
6 years ago
igorcoding 111bf7658b
Fix incorrect parse of channelprivate Chat type 6 years ago
Antoni Bertel 07734c936a Applied change to valid structure 6 years ago
Antoni Bertel a9ff639977 Added language_code field, see https://core.telegram.org/bots/apiajsdfkadjsfkadjsfkjadsl 6 years ago
Andrey Sevrikov 10a33dd585 Fix voice handlers not firing 6 years ago
Ian Byrd ab26c41a13
Merge pull request #132 from sigurniv/custom-http-client
Custom HTTP clients.
6 years ago
sigurniv 78f08282d7 fixed indentation 6 years ago
sigurniv 5f938b2a7a add option to pass custom http.Client to tb.NewBot() in case of proxying and other needs 6 years ago
Ian Byrd 2a7e9045d0
Merge pull request #128 from dschulz/patch-1
Set a unique string ID for each result in inline query Answer
6 years ago
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
```
6 years ago
Ian Byrd 2414620038
Merge pull request #124 from vivekkartha/v2
Fixed a typo in readme
6 years ago
Vivek Kartha 19ca6b7f46 Fixed a typo in readme 6 years ago
Ian Byrd 2cebf54e14
Merge pull request #118 from damner/patch-1
Fix typo
7 years ago
Ian Byrd 2025c104e6
Merge pull request #119 from irgendwr/patch-4
simplified unnecessary if
7 years ago
den b12b5e220c
Fix typo 7 years ago
Ian Byrd fd49f3f260
Merge pull request #116 from wolther47/v2
Add ReplyKeyboardRemove
7 years ago
Ian Byrd c2b7ed0ea1
Merge pull request #115 from JackSpera/v2
Fixed could not send message to private channel
7 years ago
Wolther47 84adedfefa
Add ReplyKeyboardRemove 7 years ago
Giovanni Spera 5513a66463 Fixed could not send message to private channel 7 years ago
Ian Byrd 389bcd3e65 Editting bot-issued messages doesn't return an error now. 7 years ago
Ian Byrd 3f24832170 Fix for a silly typo. 7 years ago
Ian Byrd bda24d8650 Possibly breaking some builds, but inline message IDs won't work
otherwise.
7 years ago
Ian Byrd f704eefacf ChosenInlineResult. 7 years ago
Ian Byrd 7d18e51f6f
Merge pull request #112 from m1ome/fix-defer-for
Fixed defer in for loop.
7 years ago
Ian Byrd 8060e4caa3
Merge pull request #113 from irgendwr/fix-IsForwarded
IsForwarded() fixed.
7 years ago
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)
7 years ago
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
7 years ago
Pavel Makarenko 1175eafe1c Fixed for in loop 7 years ago
Ian Byrd 25672b8f68 Proper fix. 7 years ago
Ian Byrd a629ec5c64 Revert "Reporting errors correctly."
This reverts commit 7ecf4bd6d5.
7 years ago
Ian Byrd 7ecf4bd6d5 Reporting errors correctly. 7 years ago
Ian Byrd 5d67349921 Filters. 7 years ago
Ian Byrd 1c2515c54f
Merge pull request #111 from irgendwr/patch-3
Corrected button-handler example mentioned in #66
7 years ago
Jonas Bögle 3c44abd235
corrected button-handler example mentioned in #66
Doc: https://godoc.org/gopkg.in/tucnak/telebot.v2#Bot.Respond
7 years ago
Ian Byrd 62ac17dbc9
JSON fix for buttons. 7 years ago
Ian Byrd a2d28e604d
Minor API changes. 7 years ago
Ian Byrd b831116da3
Always copying passed options to protect callback data integrity. 7 years ago
Ian Byrd 426f436905
Fix for data-less inline buttons. 7 years ago
Ian Byrd bdd5916b83
Callbacks fixed for both button types. 7 years ago
Ian Byrd ea69d21d70 MiddlewarePoller's Filter field is now exported. 7 years ago
Ian Byrd 0e5915f6e1
Merge pull request #108 from martoche/v2
Fixes a nil pointer dereference
7 years ago
Martin Ottenwaelter 6adfa4be13 Fixes a nil pointer dereference by checking a nil value for the
OnAddedToGroup handler.
7 years ago
Ian Byrd a3451788c3
Update README.md 7 years ago
Ian Byrd 05c0aad070
Update README.md 7 years ago
Ian Byrd a93491ba38
Update README.md 7 years ago
Ian Byrd 575fdda36c
Update README.md 7 years ago
Ian Byrd 77d1ba9eb1 Inline mode fix. 7 years ago
Ian Byrd 47524101d5
Drafting README.md. 7 years ago
Ian Byrd 4f400f035e
Raw() method introduced. KeyboardButton -> ReplyButton. 7 years ago
Ian Byrd 38298d3e9d
Reporter: protection from in-handler panics. 7 years ago