Commit Graph

355 Commits

Author SHA1 Message Date
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
Ian Byrd
7eeea8f32a
Payment API minimal implementation. 2019-01-28 02:42:41 +02:00
Ian Byrd
49593279d6
Fixed an apparent conflict in the currency JSON list 2019-01-27 23:28:15 +02:00
Ian Byrd
1221003ca6
Supported currencies map added. 2019-01-27 21:00:48 +02:00
Ian Byrd
430758b374
ErrCouldNotUpdate string format changed 2019-01-06 15:06:18 +02:00
Oleg-MBO
f55f3c1c4e fix panic when send audio return Document but not Audio 2019-01-04 01:29:24 +02:00
Viktor Oreshkin
273a40e72a Send thumbnails (but not in albums) 2018-12-16 02:54:29 +03:00
Ian Byrd
6451db1308
Merge pull request #175 from DexterHD/custom-api-url
Add Custom API URL
2018-12-13 02:22:46 +02:00
Anton Kucherov
538b671e6a fix #173 add custom Telegram api url 2018-12-13 01:45:03 +03:00
Anton Kucherov
2173b82adf Ignore Goland project 2018-12-13 01:21:39 +03:00
Ian Byrd
4688194c17
Merge pull request #168 from stek29/fixex
Make example work again (fix #140)
2018-11-15 17:09:21 +02:00
Viktor Oreshkin
9d9ca9ea66 Make example work again (fix #140) 2018-10-27 00:39:47 +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