Anton Kucherov
538b671e6a
fix #173 add custom Telegram api url
6 years ago
Anton Kucherov
2173b82adf
Ignore Goland project
6 years ago
Ian Byrd
4688194c17
Merge pull request #168 from stek29/fixex
...
Make example work again (fix #140 )
6 years ago
Viktor Oreshkin
9d9ca9ea66
Make example work again ( fix #140 )
6 years ago
Ian Byrd
2adea7c8be
Merge pull request #163 from stek29/filereader
...
Add File creation from io.Reader (fix #137 )
6 years ago
Ian Byrd
1eb8f50279
Merge pull request #164 from stek29/nopanic
...
Dont panic in Bot.Send, just return error
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
Ian Byrd
52a3603547
Merge pull request #138 from AntoniBertel/v3
...
Added language_code field in User structure
6 years ago
Ian Byrd
9d0170e505
Merge pull request #156 from stek29/optional_fields
...
Embed optional fields when sending (fix #147 )
6 years ago
Viktor Oreshkin
fd3c84fce1
Embed optional fields in SendAlbum
6 years ago
Viktor Oreshkin
6264ba688c
Embed optional fields when sending ( fix #147 )
6 years ago
Ian Byrd
b59ea4aec3
Merge pull request #146 from aprosvetova/patch-1
...
fixed wrong method name
6 years ago
Ian Byrd
1cd1ef9fc4
Merge pull request #151 from stek29/fix-gif
...
Handle Video with no sound (fix #133 )
6 years ago
Viktor Oreshkin
3b566f3fbd
Handle Video with no sound ( fix #133 )
6 years ago
Ian Byrd
89d8b20796
Merge pull request #141 from igorcoding/patch-1
...
Fix incorrect parsing of ChannelPrivate chat
6 years ago
Ian Byrd
e087d7f430
Merge pull request #148 from ulrichSchreiner/webhook_poller
...
Webhook poller implementation
6 years ago
Ulrich Schreiner
9b26b855ae
allow custom http muxes too
6 years ago
Ulrich Schreiner
97e78127ad
fix lint errors in current code
6 years ago
Ulrich Schreiner
07aeab1abb
add implementation for a webhook poller
6 years ago
Anna Prosvetova
fc1a751391
fixed wrong method name
6 years ago
Ian Byrd
743778f69e
Merge pull request #135 from devandsev/voice-handlers-fix
...
Fix voice handlers not firing
6 years ago
igorcoding
111bf7658b
Fix incorrect parse of channelprivate Chat type
6 years ago
Antoni Bertel
07734c936a
Applied change to valid structure
7 years ago
Antoni Bertel
a9ff639977
Added language_code field, see https://core.telegram.org/bots/apiajsdfkadjsfkadjsfkjadsl
7 years ago
Andrey Sevrikov
10a33dd585
Fix voice handlers not firing
7 years ago
Ian Byrd
ab26c41a13
Merge pull request #132 from sigurniv/custom-http-client
...
Custom HTTP clients.
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
Ian Byrd
2a7e9045d0
Merge pull request #128 from dschulz/patch-1
...
Set a unique string ID for each result in inline query Answer
7 years ago
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
```
7 years ago
Ian Byrd
2414620038
Merge pull request #124 from vivekkartha/v2
...
Fixed a typo in readme
7 years ago
Vivek Kartha
19ca6b7f46
Fixed a typo in readme
7 years ago
Ian Byrd
2cebf54e14
Merge pull request #118 from damner/patch-1
...
Fix typo
7 years ago
Ian Byrd
2025c104e6
Merge pull request #119 from irgendwr/patch-4
...
simplified unnecessary if
7 years ago
den
b12b5e220c
Fix typo
7 years ago
Ian Byrd
fd49f3f260
Merge pull request #116 from wolther47/v2
...
Add ReplyKeyboardRemove
7 years ago
Ian Byrd
c2b7ed0ea1
Merge pull request #115 from JackSpera/v2
...
Fixed could not send message to private channel
7 years ago
Wolther47
84adedfefa
Add ReplyKeyboardRemove
7 years ago
Giovanni Spera
5513a66463
Fixed could not send message to private channel
7 years ago
Ian Byrd
389bcd3e65
Editting bot-issued messages doesn't return an error now.
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
7d18e51f6f
Merge pull request #112 from m1ome/fix-defer-for
...
Fixed defer in for loop.
7 years ago
Ian Byrd
8060e4caa3
Merge pull request #113 from irgendwr/fix-IsForwarded
...
IsForwarded() fixed.
7 years ago
Jonas Bögle
933b28f94e
fixed IsForwarded()
...
reverts a tiny change from dbc2cd7f6
, we need to check both fields because:
- m.OriginalChat is nil when message is not forwarded from a channel
- m.OriginalSender can be nil if the message is forwarded from a channel
(doc: https://core.telegram.org/bots/api#message )
7 years ago
Jonas Bögle
f2812ea814
simplified unnecessary if
...
You can remove this if and just directly return err since it's nil if there is no error
7 years ago
Pavel Makarenko
1175eafe1c
Fixed for in loop
7 years ago
Ian Byrd
25672b8f68
Proper fix.
7 years ago