Commit Graph

624 Commits

Author SHA1 Message Date
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
Ian Byrd
1eb8f50279
Merge pull request #164 from stek29/nopanic
Dont panic in Bot.Send, just return error
2018-10-11 14:48:55 +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
Ian Byrd
52a3603547
Merge pull request #138 from AntoniBertel/v3
Added language_code field in User structure
2018-09-18 01:12:22 +03:00
Ian Byrd
9d0170e505
Merge pull request #156 from stek29/optional_fields
Embed optional fields when sending (fix #147)
2018-09-18 01:11:37 +03:00
Viktor Oreshkin
fd3c84fce1 Embed optional fields in SendAlbum 2018-09-15 15:15:08 +03:00
Viktor Oreshkin
6264ba688c Embed optional fields when sending (fix #147) 2018-09-14 22:56:44 +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
1cd1ef9fc4
Merge pull request #151 from stek29/fix-gif
Handle Video with no sound (fix #133)
2018-07-19 02:27:34 +03:00
Viktor Oreshkin
3b566f3fbd Handle Video with no sound (fix #133) 2018-07-18 21:12:29 +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
Ian Byrd
e087d7f430
Merge pull request #148 from ulrichSchreiner/webhook_poller
Webhook poller implementation
2018-07-11 11:32:22 +03:00
Ulrich Schreiner
9b26b855ae
allow custom http muxes too 2018-07-01 19:05:38 +02:00
Ulrich Schreiner
97e78127ad
fix lint errors in current code 2018-06-30 22:34:04 +02:00
Ulrich Schreiner
07aeab1abb
add implementation for a webhook poller 2018-06-30 22:21:37 +02:00
Anna Prosvetova
fc1a751391
fixed wrong method name 2018-06-29 20:29:20 +03:00
Ian Byrd
743778f69e
Merge pull request #135 from devandsev/voice-handlers-fix
Fix voice handlers not firing
2018-06-03 13:11:04 +03:00
igorcoding
111bf7658b
Fix incorrect parse of channelprivate Chat type 2018-05-19 19:22:14 +03:00
Antoni Bertel
07734c936a Applied change to valid structure 2018-05-03 15:46:43 +02:00
Antoni Bertel
a9ff639977 Added language_code field, see https://core.telegram.org/bots/apiajsdfkadjsfkadjsfkjadsl 2018-05-03 15:41:43 +02:00
Andrey Sevrikov
10a33dd585 Fix voice handlers not firing 2018-04-24 18:46:07 +03:00
Ian Byrd
ab26c41a13
Merge pull request #132 from sigurniv/custom-http-client
Custom HTTP clients.
2018-04-18 21:57:23 +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
Ian Byrd
2a7e9045d0
Merge pull request #128 from dschulz/patch-1
Set a unique string ID for each result in inline query Answer
2018-04-01 17:45:54 +03:00
Diego Schulz
46ab1ff3d9
Set a unique string ID for each result in inline query Answer
It's needed to set a unique string ID for each result in inline query Answer. Otherwise you get an

```
api error: Bad request: RESULT_ID_DUPLICATE
```
2018-03-20 10:32:31 -03:00
Ian Byrd
2414620038
Merge pull request #124 from vivekkartha/v2
Fixed a typo in readme
2018-02-12 01:26:37 +02:00
Vivek Kartha
19ca6b7f46 Fixed a typo in readme 2018-02-11 14:46:17 +05:30
Ian Byrd
2cebf54e14
Merge pull request #118 from damner/patch-1
Fix typo
2018-01-17 17:52:58 +02:00
Ian Byrd
2025c104e6
Merge pull request #119 from irgendwr/patch-4
simplified unnecessary if
2018-01-17 17:52:33 +02:00
den
b12b5e220c
Fix typo 2018-01-08 19:41:00 +03:00