Commit Graph

517 Commits

Author SHA1 Message Date
Artem Siryk
0d3d5fdc94 errors: static error mappings introduced 2020-03-28 03:16:20 +00:00
Mikhail Borovikov
9852df39ae Add support parse_mode for albums photo 2020-03-01 03:12:13 +03:00
Eugene Bravov
4e97ab59b1
Make Animation Sendable 2020-02-29 15:34:33 +03:00
Eugene Bravov
bd69a13f32
Add animation to maeesage 2020-02-29 15:34:07 +03:00
Eugene Bravov
dcdaac918c
Add animation type 2020-02-29 15:33:48 +03:00
Ian P Badtrousers
209b6f88ca
Update README.md 2020-02-09 13:31:23 +01:00
Tobias Tangemann
b6c3367fed Fix OnMigration handler haven from=0 (#245)
Fixes tucnak/telebot/issues#187
2020-01-20 19:55:35 +03:00
demiangetman
40dabc4275 Add login_url field support to InlineButton 2019-12-28 14:01:17 +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
da7bc9e2ff explicitly ignore error in embedRights 2019-12-26 02:25: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
cbcedf0c92 Fix sendFiles reader leak 2019-12-26 02:03:10 +03:00
Viktor Oreshkin
a770d6d951 Fix typos and misspells 2019-12-26 01:55:51 +03:00
demiangetman
11b34b3857 Add ReplyMarkup field to Message 2019-12-26 01:44: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
Viktor Oreshkin
00abc40b42
Add thumbnail to Audio (#240) 2019-12-22 08:07:00 +03:00
Ian P Badtrousers
4675004c6c
Merge pull request #237 from demget/feature-callback-inline
Callback's inline message
2019-12-22 07:06:04 +02:00
demiangetman
f286f15c03 Implement IsInline helper function 2019-12-08 11:57:24 +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
Ian Patrick Badtrousers
d0707a9d73
Merge pull request #224 from demget/patch-1
Implement missed API features
2019-10-05 08:12:24 +02:00
Ian Patrick Badtrousers
6c2f7a7e05
Merge pull request #225 from demget/patch-2
Add setters for ResultBase
2019-10-05 08:11:20 +02:00
Ian Patrick Badtrousers
7f125632ce
Merge pull request #226 from demget/patch-files
Media objects improvements
2019-10-05 08:10:13 +02:00
demiangetman
9605575524 Fix media caption disappearing after first send 2019-09-30 19:00:10 +03:00
demiangetman
8001defa0c Add custom file name support for media 2019-09-30 18:57:54 +03:00
demiangetman
05a04f8830 Add setters for ResultBase 2019-09-30 18:42:02 +03:00
demiangetman
7631100db9 Add switch_inline_query_current_chat field to InlineButton 2019-09-30 18:37:19 +03:00
demiangetman
366e68b072 Implement EditReplyMarkup 2019-09-30 18:24:59 +03:00
Ian Byrd
6fa61fef85
Merge pull request #208 from mclucario/v2
Add is_bot to unmarshal
2019-09-30 16:24:34 +02:00
Ian Byrd
abf4d26318
Merge pull request #220 from mitinarseny/v2
Avoid using fmt.Sprintf for better performance
2019-09-30 16:20:36 +02:00
Arseny Mitin
83aacd12ee refactor: avoid using fmt.Sprintf for performance 2019-09-17 10:05:21 +03:00
Ian Byrd
d408d5d268
Merge pull request #217 from evgendn/sticker_methods
Add stickers methods
2019-09-15 22:17:56 +02:00
evgendn
240965f18d Add stickers methods 2019-07-29 23:04:52 +05:00
Leon Grünewald
138d854284 Add is_bot to unmarshal 2019-05-20 00:36:15 +02:00
Ian Byrd
8c1c512262 Go module fix for #202 2019-04-15 12:06:33 +03: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
Ian Byrd
648fbbc054
Merge pull request #197 from robatipoor/add-method-getFile
add method GetFile and refactor code
2019-03-26 15:20:20 +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
e6cfaa8339
Merge pull request #176 from stek29/thumbnail
Send thumbnails (but not in albums)
2019-02-13 13:08:36 +02:00
Ian Byrd
0cd7c96b28
Merge pull request #182 from olehbozhok/v2
fix panic when send audio return Document but not  Audio
2019-02-13 13:08:11 +02:00