Commit Graph

118 Commits (abf4d2631827ac771c6e1c28b4686c6f4d5e920a)

Author SHA1 Message Date
Arseny Mitin 83aacd12ee refactor: avoid using fmt.Sprintf for performance 5 years ago
evgendn 240965f18d Add stickers methods 5 years ago
Ian Byrd 9b714b274c reducing excessive deffered calls 6 years ago
Ian Byrd 42933c1912 small fixes, go.{mod,sum} 6 years ago
Ian Byrd 85ee746b3c
Merge pull request #194 from 23rd/patch-1-edit-media
Added support for editMessageMedia.
6 years ago
robatioor 5601dd0354 add method GetFile and refactor code 6 years ago
23rd c7451550a3 Added support for editMessageMedia.
- Fixes #184.
6 years ago
Ian Byrd 7eeea8f32a
Payment API minimal implementation. 6 years ago
Anton Kucherov 538b671e6a fix #173 add custom Telegram api url 6 years ago
Ian Byrd 2adea7c8be
Merge pull request #163 from stek29/filereader
Add File creation from io.Reader (fix #137)
6 years ago
Viktor Oreshkin ec2090d300 Dont panic in Bot.Send, just return error 6 years ago
Viktor Oreshkin 629fe58962 Add File creation from io.Reader (fix #137)
Refactor sendFiles to accept Files
6 years ago
Viktor Oreshkin fd3c84fce1 Embed optional fields in SendAlbum 6 years ago
Ian Byrd b59ea4aec3
Merge pull request #146 from aprosvetova/patch-1
fixed wrong method name
6 years ago
Ian Byrd 89d8b20796
Merge pull request #141 from igorcoding/patch-1
Fix incorrect parsing of ChannelPrivate chat
6 years ago
Ulrich Schreiner 97e78127ad
fix lint errors in current code 6 years ago
Anna Prosvetova fc1a751391
fixed wrong method name 6 years ago
igorcoding 111bf7658b
Fix incorrect parse of channelprivate Chat type 6 years ago
Andrey Sevrikov 10a33dd585 Fix voice handlers not firing 7 years ago
sigurniv 78f08282d7 fixed indentation 7 years ago
sigurniv 5f938b2a7a add option to pass custom http.Client to tb.NewBot() in case of proxying and other needs 7 years ago
Giovanni Spera 5513a66463 Fixed could not send message to private channel 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 426f436905
Fix for data-less inline buttons. 7 years ago
Ian Byrd bdd5916b83
Callbacks fixed for both button types. 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 77d1ba9eb1 Inline mode fix. 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 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
Ian Byrd 33e1846abd
Download() introduced. 7 years ago
Ian Byrd 79dccd7227
Endpoints for media introduced, Message.From -> Message.Sender 7 years ago
Ian Byrd 612ab345bd Improved inline API. TODO proper result types. 7 years ago
Ian Byrd 9aad0c4faa
OnAddedToGroup introduced. 7 years ago
Ian Byrd 091bbc9a13 Administration tools, this resolves #43. 7 years ago
Ian Byrd b4bec5b6f7
Command routing fix. 7 years ago
Ian Byrd ddc9f75fb2
More documentation, little code changes. 7 years ago
Ian Byrd 52892914f3
Security measure: ignoring all messages starting with \a 7 years ago