Commit Graph

757 Commits

Author SHA1 Message Date
Demian
69399c1a36 media: add premium_animation to the Sticker 2022-10-05 15:07:13 +03:00
Demian
b16c14c615 file: change FileSize type to int64 2022-10-05 15:06:04 +03:00
Demian
d9b2c62833 payments: implement createInvoiceLink 2022-10-05 15:04:31 +03:00
Demian
adf6dc85a2 chat: add new bot api 6.1 fields 2022-10-05 14:56:50 +03:00
Demian
2a6eec366f admin: implement my default administrator rights 2022-10-05 01:30:44 +03:00
Demian
933fcacf4a telebot: rename voice chat to the video chat 2022-10-05 01:03:09 +03:00
Demian
98378aadd1 admin: rename can_manage_voice_chats 2022-10-05 00:56:58 +03:00
Demian
89233a0c1e webhook: add last_synchronization_error_date field 2022-10-05 00:53:34 +03:00
Demian
3da05bf267 tests: refactor commands test case 2022-10-05 00:48:01 +03:00
Demian
dc27c6cb4c bot: implement menu button 2022-10-05 00:47:43 +03:00
Demian
4da4605bec api: move verbose logging out 2022-10-05 00:47:25 +03:00
Demian
cee9ad2ddd telebot: refactor web apps 2022-10-05 00:11:00 +03:00
demget
c7959ca48c
Merge pull request #550 from Googlom/v3-feature-commands-locale
Localized bot commands desctiptions
2022-10-04 22:41:14 +03:00
demget
d782b53c7a
Merge pull request #543 from zry98/v3
Add secret_token support to webhook
2022-10-04 22:37:03 +03:00
demget
352b5c89f1
Merge pull request #509 from dzen-it/v3-webapp_support
Web App support
2022-10-04 22:35:54 +03:00
Demian
2e4664a387 bot: use timeout for the default http client 2022-10-04 22:24:56 +03:00
demget
d4c80e6239
Merge pull request #546 from Googlom/v3-fix-layout-button
fix the order in which template Funcs are applied
2022-10-03 15:31:24 +03:00
Demian
81fbf736de tests: fix InviteLink test case 2022-10-02 22:16:01 +03:00
Demian
30fcc2b9f0 layout: migrate from cast to the viper 2022-10-02 22:11:28 +03:00
Demian
5117f06d9a tests: add markdown v2 test case 2022-10-02 02:07:07 +03:00
Demian
c4f759fb07 middleware: implement Recover, add docs 2022-10-01 12:21:55 +03:00
googlom
83dd959e75 implement CommandsLocale 2022-08-30 16:06:52 +05:00
googlom
9f39ea137a fix the order in which template Funcs are applied 2022-08-22 12:41:14 +05:00
zry98
91fcbd4fa9
Add secret_token support to webhook 2022-08-19 00:28:32 +02:00
Demian
c6bead1174 telebot: add a shortcut for map[string]any 2022-08-16 12:15:04 +03:00
Ilya
937288568d
Merge pull request #531 from Luoxin/v3
add `is_premium` in `User`
2022-07-27 07:22:25 +03:00
Ilya
11cbaeaf0e
Merge pull request #532 from codemorego/v3-do-cancel-poll-on-bot-stop-immediately
do cancel poll immediately on bot stop
2022-07-27 07:21:39 +03:00
demget
fa987764b5
Merge pull request #535 from nicolasassi/remove-still-field-from-chat
Remove `still` field from `chat`
2022-07-18 14:09:39 +03:00
demget
5d0644e314
Merge pull request #507 from Qusic/patch-2
Fix #481: nil pointer dereference when sending video file as Document
2022-07-18 14:07:00 +03:00
nicolas.sassi
1c40d1a516
remove still field from chat 2022-07-03 11:00:02 -03:00
demget
7f660b8534
Merge pull request #520 from star-39/v3
Treat Sticker as Media
2022-07-02 00:47:38 +03:00
demget
fa8395ef3f
Merge pull request #533 from beshenkaD/v3-DeleteCommands
bot: fix DeleteCommands
2022-07-02 00:44:30 +03:00
Beshenka
177166856b bot: fix DeleteCommands 2022-06-27 20:36:29 +03:00
JSP
4d903fb681 Check bot.stopClient is not nil when closing it, could happen if Stop called before or without Start. 2022-06-25 21:41:49 +03:00
JSP
f3bc8545a4 Make Bot.debug to be aware of Bot.verbose flag to be less spammy
especially with sensible error messages during polling failures which
contains bot's token.
2022-06-24 18:37:25 +03:00
JSP
8ec2c93e17 Cancel Raw() call immediately without waiting for the request's timeout when bot is about to stop.
This may become important if doing long polling with long timeout.
2022-06-24 18:36:29 +03:00
落心
b0ccf622b9
is_premium 2022-06-22 10:27:03 +08:00
Qusic
6134fc231b send video as document 2022-06-10 19:28:45 +08:00
demget
4609e62629
Merge pull request #528 from Xarakiri/v3-fix-typo
fix: typo
2022-06-01 02:04:04 +03:00
Xarakiri
968ccec6a7
fix: typo 2022-05-30 12:51:42 +05:00
star-39
173d940a7a Treat Sticker as Media 2022-05-09 07:42:21 +00:00
Mikhail Borovikov
8342f1a0fd Added test for a WebAppData field 2022-04-18 00:48:45 +07:00
Mikhail Borovikov
2c2e8dcff1 Added AnswerWebApp for using in a Handle method 2022-04-18 00:37:19 +07:00
Mikhail Borovikov
c4abfac25d Added web_app_data for a message 2022-04-17 23:43:27 +07:00
Mikhail Borovikov
e22b5f4f64 Added web_app fields for the buttons 2022-04-17 22:54:30 +07:00
demget
4b2f8743d1
Merge pull request #498 from hararudoka/patch-1
fix a typo in layout.go
2022-03-15 22:24:19 +02:00
hararudoka
a4d61d0eb4 fix a typo in layout.go 2022-03-15 19:51:23 +03:00
Ian P Badtrousers
dd790ca6c1 README: getting rid of past import path artifacts 2022-02-10 14:10:28 +01:00
demget
3ae6ec85d5
readme: fix Group example 2022-02-08 12:58:03 +02:00
Demian
8ad1e044ee telebot: naming, docs 2022-02-08 01:43:15 +02:00