Commit Graph

139 Commits

Author SHA1 Message Date
Nikita Bikmaev
66e7021870 Move a code to sendable.go and update the README.md 2020-03-31 00:04:16 +03:00
Nikita Bikmaev
4b74a0ebcc Fix documentation 2020-03-30 19:37:41 +03:00
Nikita Bikmaev
69f0836940 Implement sendPoll method 2020-03-30 19:21:06 +03:00
Ian Patrick Badtrousers
3458aeb2e7 Revert "MarkdownV2 as default, use MarkdownLegacy for old-fashioned MD."
This reverts commit 12299becfa.
2020-03-29 14:59:27 +02:00
Ian Patrick Badtrousers
12299becfa MarkdownV2 as default, use MarkdownLegacy for old-fashioned MD. 2020-03-29 01:49:17 +01:00
Mikhail Borovikov
9852df39ae Add support parse_mode for albums photo 2020-03-01 03:12:13 +03:00
Tobias Tangemann
b6c3367fed Fix OnMigration handler haven from=0 (#245)
Fixes tucnak/telebot/issues#187
2020-01-20 19:55:35 +03:00
Viktor Oreshkin
baa616bc00 EditMedia: Fix possible thumb attach name conflict 2019-12-26 02:47:05 +03:00
Viktor Oreshkin
ddbfc934ff rename FileJson to FileJSON to make linter happy 2019-12-26 02:42:52 +03:00
Viktor Oreshkin
f4d7467b6e Rewrite IfElseChain to switch 2019-12-26 02:42:20 +03:00
Viktor Oreshkin
24589f3665 remove unused function (*Bot).handleCommand 2019-12-26 02:20:59 +03:00
Viktor Oreshkin
a67e593e35 GetFile: use b.client, check status code 2019-12-26 02:17:34 +03:00
Viktor Oreshkin
6cf54c1557 Improve some loops (use copy, style fix) 2019-12-26 02:04:23 +03:00
Viktor Oreshkin
a770d6d951 Fix typos and misspells 2019-12-26 01:55:51 +03:00
Viktor Oreshkin
10b553411d Add options to EditCaption (incl ParseMode) (#230) 2019-12-26 01:44:01 +03:00
demiangetman
a855bcb241 Fix possible EditMedia sendOpts nil dereference 2019-12-26 01:40:46 +03:00
demiangetman
921282a488 Add ParseMode option support to EditMedia 2019-12-26 01:40:46 +03:00
Viktor Oreshkin
ca2149b44f Handle audio thumbnail in EditMedia 2019-12-26 01:21:11 +03:00
demiangetman
53bfa49b78 Fill callback inline message on update 2019-12-08 11:57:09 +03:00
demiangetman
97589a3d9e Add options to EditCaption 2019-11-03 16:17:46 +03:00
demiangetman
366e68b072 Implement EditReplyMarkup 2019-09-30 18:24:59 +03:00
Arseny Mitin
83aacd12ee refactor: avoid using fmt.Sprintf for performance 2019-09-17 10:05:21 +03:00
evgendn
240965f18d Add stickers methods 2019-07-29 23:04:52 +05:00
Ian Byrd
9b714b274c reducing excessive deffered calls 2019-03-29 16:25:48 +02:00
Ian Byrd
42933c1912 small fixes, go.{mod,sum} 2019-03-29 16:25:48 +02:00
Ian Byrd
85ee746b3c
Merge pull request #194 from 23rd/patch-1-edit-media
Added support for editMessageMedia.
2019-03-26 15:22:23 +02:00
robatioor
5601dd0354 add method GetFile and refactor code 2019-03-03 08:44:14 +03:30
23rd
c7451550a3 Added support for editMessageMedia.
- Fixes #184.
2019-02-20 09:11:32 +03:00
Ian Byrd
7eeea8f32a
Payment API minimal implementation. 2019-01-28 02:42:41 +02:00
Anton Kucherov
538b671e6a fix #173 add custom Telegram api url 2018-12-13 01:45:03 +03:00
Ian Byrd
2adea7c8be
Merge pull request #163 from stek29/filereader
Add File creation from io.Reader (fix #137)
2018-10-11 14:50:05 +03:00
Viktor Oreshkin
ec2090d300 Dont panic in Bot.Send, just return error 2018-10-11 14:40:16 +03:00
Viktor Oreshkin
629fe58962 Add File creation from io.Reader (fix #137)
Refactor sendFiles to accept Files
2018-10-11 14:39:07 +03:00
Viktor Oreshkin
fd3c84fce1 Embed optional fields in SendAlbum 2018-09-15 15:15:08 +03:00
Ian Byrd
b59ea4aec3
Merge pull request #146 from aprosvetova/patch-1
fixed wrong method name
2018-07-19 02:27:49 +03:00
Ian Byrd
89d8b20796
Merge pull request #141 from igorcoding/patch-1
Fix incorrect parsing of ChannelPrivate chat
2018-07-11 11:37:41 +03:00
Ulrich Schreiner
97e78127ad
fix lint errors in current code 2018-06-30 22:34:04 +02:00
Anna Prosvetova
fc1a751391
fixed wrong method name 2018-06-29 20:29:20 +03:00
igorcoding
111bf7658b
Fix incorrect parse of channelprivate Chat type 2018-05-19 19:22:14 +03:00
Andrey Sevrikov
10a33dd585 Fix voice handlers not firing 2018-04-24 18:46:07 +03:00
sigurniv
78f08282d7 fixed indentation 2018-04-18 21:17:03 +03:00
sigurniv
5f938b2a7a add option to pass custom http.Client to tb.NewBot() in case of proxying and other needs 2018-04-18 16:42:18 +03:00
Giovanni Spera
5513a66463 Fixed could not send message to private channel 2017-12-30 13:08:44 +01: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
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
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
77d1ba9eb1 Inline mode fix. 2017-11-29 22:31:07 +02:00