Commit Graph

827 Commits (v3)
 

Author SHA1 Message Date
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
Ian Byrd 4cf58f4c5b
Automatic command payload handling. 7 years ago
Ian Byrd 5a73cee70a
Handle() now supports keyboard buttons as endpoints. 7 years ago
Ian Byrd 119a4e1698
Modified poller API, fixes #106. 7 years ago
Ian Byrd 3329d98249
Completing regular API now. 7 years ago
Ian Byrd 5ba925eaba
Completing inline API, closing #104. 7 years ago
Ian Byrd 2a1158c03a Revert "Protecting callbacks with callback guards."
This reverts commit 6f068bdacb.
7 years ago
Ian Byrd 31f0da895e
Graceful shutdown with Stop(), resolves #99, #105 7 years ago
Ian Byrd 6f068bdacb
Protecting callbacks with callback guards. 7 years ago
Ian Byrd eae6345b88
InlineButton became endpoint (callback handling.) 7 years ago
Ian Byrd d6ef68605b
Complete list of endpoints is now supported (see const.) 7 years ago
Ian Byrd af9f8f00da
Pin/Unpin methods added. 7 years ago
Ian Byrd 83eb527fe5
Albums added, this commit resolves #103. 7 years ago