Demian
|
c626aaabd5
|
bot: accept Editable in Forward function
|
4 years ago |
Demian
|
f82c0ec609
|
telebot: fix linter inspection problems
|
4 years ago |
Demian
|
7a1d59c7d9
|
payments: SuccessfulPayment and minor changes
|
4 years ago |
Ian P Badtrousers
|
1a558989dc
|
Merge pull request #292 from godande/develop
Introduced keyboard constructors
|
4 years ago |
Demian
|
16e74b8025
|
payments: complete shipping API
|
4 years ago |
dande
|
ef00a90aef
|
options: go fmt
|
4 years ago |
dande
|
49a392391a
|
keyboards: added constructors
|
4 years ago |
Demian
|
eb74dcb35a
|
bot: move stickers functions to stickers.go
|
4 years ago |
Nikita Bikmaev
|
ef4247381a
|
stickers: implement setStickerSetThumb method
|
4 years ago |
Nikita Bikmaev
|
5af4f9c52c
|
stickers: update functions according to the library's standards
|
4 years ago |
Demian
|
7324790593
|
bot: some clean-ups and refactoring
1. empty map initialization replaced with make keyword;
2. removed redundant extractOk() calls, after b.Raw.
|
4 years ago |
Demian
|
1533291206
|
games: complete Games API
|
4 years ago |
demget
|
319196b847
|
Merge pull request #280 from guest6379/pr_onanimation
Add OnAnimation endpoint
|
4 years ago |
Demian
|
f9f9b69ccf
|
Merge branch 'poller-fix' into develop
|
4 years ago |
Demian
|
31048be20c
|
bot: close stop channels only by their owners
|
4 years ago |
Orivej Desh
|
953bcdf552
|
bot: remove closures around runHandler
|
4 years ago |
Orivej Desh
|
95769df144
|
tests: add offline mode
|
4 years ago |
me@linux
|
1b307ee259
|
Add OnAnimation endpoint
|
4 years ago |
Orivej Desh
|
f95090faf1
|
bot: expose ProcessUpdate and add Synchronous handlers mode
Bot.ProcessUpdate in synchronous mode can be used as an AWS Lambda function.
|
4 years ago |
Demian
|
c14c51a668
|
bot: fix long poller stopping logic
|
4 years ago |
Demian
|
5c1986f5b5
|
telebot: a lot of refactor and clean-ups
|
4 years ago |
Demian
|
e786ae7401
|
bot: implement stopPoll method
|
4 years ago |
Rocky Badland
|
b15f9a45d2
|
bot: fix misspell in deleteChatPhoto
|
4 years ago |
Demian
|
32532699c5
|
bot: implement bot commands methods
|
4 years ago |
Demian
|
f3f71c27e0
|
bot: implement setChatPermissions method
|
4 years ago |
dande
|
9268c6dff7
|
dice: added constants
|
4 years ago |
dande
|
3915e8596b
|
dice: fixed dice handling
|
4 years ago |
Demian
|
299838450e
|
tests: implement b.EditReplyMarkup() function test
|
4 years ago |
Demian
|
4e2f28c4f3
|
bot: implement editMessageLiveLocation, update some documentation
|
5 years ago |
Demian
|
1654a203ea
|
bot: check recipient for nil to avoid panics
|
5 years ago |
Demian
|
784432503e
|
tests: implement b.Send() function test
|
5 years ago |
unknown
|
51a26d93ce
|
Refactor incomingUpdate function
|
5 years ago |
unknown
|
e5789a08bb
|
Refactor unexported code
|
5 years ago |
unknown
|
4cab32f46e
|
Fire OnPinned for channel post (closes #244)
|
5 years ago |
unknown
|
fcff7569ac
|
Implement bot Handle and Start functions tests
|
5 years ago |
unknown
|
32de86819c
|
Update Handle documentation
|
5 years ago |
unknown
|
ce43c6a8a2
|
Refactor code, fix code style issues
|
5 years ago |
Nikita Bikmaev
|
66e7021870
|
Move a code to sendable.go and update the README.md
|
5 years ago |
Nikita Bikmaev
|
4b74a0ebcc
|
Fix documentation
|
5 years ago |
Nikita Bikmaev
|
69f0836940
|
Implement sendPoll method
|
5 years ago |
Ian Patrick Badtrousers
|
3458aeb2e7
|
Revert "MarkdownV2 as default, use MarkdownLegacy for old-fashioned MD."
This reverts commit 12299becfa .
|
5 years ago |
Ian Patrick Badtrousers
|
12299becfa
|
MarkdownV2 as default, use MarkdownLegacy for old-fashioned MD.
|
5 years ago |
Mikhail Borovikov
|
9852df39ae
|
Add support parse_mode for albums photo
|
5 years ago |
Tobias Tangemann
|
b6c3367fed
|
Fix OnMigration handler haven from=0 (#245)
Fixes tucnak/telebot/issues#187
|
5 years ago |
Viktor Oreshkin
|
baa616bc00
|
EditMedia: Fix possible thumb attach name conflict
|
5 years ago |
Viktor Oreshkin
|
ddbfc934ff
|
rename FileJson to FileJSON to make linter happy
|
5 years ago |
Viktor Oreshkin
|
f4d7467b6e
|
Rewrite IfElseChain to switch
|
5 years ago |
Viktor Oreshkin
|
24589f3665
|
remove unused function (*Bot).handleCommand
|
5 years ago |
Viktor Oreshkin
|
a67e593e35
|
GetFile: use b.client, check status code
|
5 years ago |
Viktor Oreshkin
|
6cf54c1557
|
Improve some loops (use copy, style fix)
|
5 years ago |
Viktor Oreshkin
|
a770d6d951
|
Fix typos and misspells
|
5 years ago |
Viktor Oreshkin
|
10b553411d
|
Add options to EditCaption (incl ParseMode) (#230)
|
5 years ago |
demiangetman
|
a855bcb241
|
Fix possible EditMedia sendOpts nil dereference
|
5 years ago |
demiangetman
|
921282a488
|
Add ParseMode option support to EditMedia
|
5 years ago |
Viktor Oreshkin
|
ca2149b44f
|
Handle audio thumbnail in EditMedia
|
5 years ago |
demiangetman
|
53bfa49b78
|
Fill callback inline message on update
|
5 years ago |
demiangetman
|
97589a3d9e
|
Add options to EditCaption
|
5 years ago |
demiangetman
|
366e68b072
|
Implement EditReplyMarkup
|
5 years ago |
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 |