Commit Graph

797 Commits

Author SHA1 Message Date
Demian
71ac2995cc errors: implement ErrIs 2023-11-22 16:43:51 +01:00
Demian
b1cf07b13d markup: add reply user and chat Btn constructors 2023-11-20 15:13:37 +01:00
Demian
10d3480782 topic: finish and refactor the implementation 2023-11-20 15:06:31 +01:00
Demian
06bbf9e69f chat: add user_chat_id field 2023-11-20 13:34:51 +01:00
Demian
7b08a8f939 admin: add use_independent_chat_permissions param 2023-11-20 12:57:23 +01:00
Mikhail
e6590d806a MarshalJSON should produce unique result ID
Result variable inside for-loop actually have the same address on each iteration, so we need to take address in underlying slice.
2023-11-20 11:30:38 +01:00
Demian
78610849e1 api 6.5: implement request_user and request_chat support params in ReplyButton 2023-11-19 22:22:17 +01:00
Demian
cd009a68b3 media: remove omitempty flag from json tag in Sticker 2023-11-19 21:20:52 +01:00
Vlad Lukyanov
270e53bb90
media: add missed CustomEmoji field to the Sticker (#579)
Co-authored-by: Vladislav Lukianov <vladislav_lukianov@epam.com>
2023-11-19 22:19:34 +02:00
Demian
76f1c0eef8 errors: add missed entries to Err 2023-11-19 21:18:17 +01:00
awohsen
4e31cc6eac
errors: add join request related errors (#570) 2023-11-19 22:12:52 +02:00
George
3c4d8425f4 Added is_member field for ChatMember. Previously, it was not possible to check whether a ChatMemberRestricted had joined or left a chat. 2023-11-19 21:01:41 +01:00
Demian
c581e8389b bot: describe how to include the caption in SendAlbum docs 2023-11-19 20:58:00 +01:00
Nikita
fb8ce2a4b1
api: update to 6.4 (#606)
Co-authored-by: Demian <optigan@protonmail.com>
2023-11-19 21:52:15 +02:00
Demian
03dcac73d8 chat,message: naming 2023-11-19 20:45:16 +01:00
Demian
d883371ded telebot: refactor bot api 6.3 2023-11-18 16:16:16 +01:00
Nikita
5d4079a489 api: update to 6.3 2023-11-18 16:16:16 +01:00
demget
2f38e4952f
Merge pull request #628 from tucnak/v3-middleware-fix
middleware: fix the append's capacity reusing
2023-11-03 00:26:19 +01:00
Demian
5f0d89877d tests: refactor middleware test cases 2023-11-03 00:21:13 +01:00
Demian
48c941a8d9 middleware: move m appending into separate func 2023-11-03 00:12:36 +01:00
demget
bb76a9a642
Merge pull request #588 from mkuznets/mkuznets/fix-middleware-clobbering
Fix: handler middleware is overwritten when combined with group or global middleware
2023-11-02 23:59:56 +01:00
demget
699e5dbbdd
errors: add ErrKickedFromChannel 2023-05-23 15:10:04 +03:00
demget
de01d4553e
Merge pull request #601 from Akionka/patch-1
Update layout.go
2023-05-14 16:58:39 +03:00
Akionka
eb290fd947
Update layout.go 2023-05-12 16:31:53 +03:00
Max Kuznetsov
bae47b52d4 Fix handler middleware clobbering when group middleware slice has extra capacity 2023-04-03 23:23:53 +01:00
demget
fbd35f2103
Merge pull request #560 from osinniy/patch-1
Change Webhook.Poll log behaviour
2023-03-09 13:38:30 +02:00
Demian
92739f1414 api: always specify allowed_updates in getUpdates 2023-03-07 20:27:42 +02:00
demget
8a14d8a96b
Merge pull request #572 from hararudoka/patch-2
typo in docs
2022-12-30 08:47:20 +02:00
Ruslan
0b9f842a27
typo in docs 2022-12-07 23:43:10 +00:00
Demian
ad84cbde5a context: add message Entities function 2022-11-14 13:02:38 +02:00
Demian
4c17ca7dc7 layout: fix text template func inside the inline results 2022-11-14 12:58:36 +02:00
Alex Osinniy
c2b50e878f
Make SetWebhook error loggable by default (#559) 2022-10-12 18:09:29 +03:00
Demian
7065335e1d layout: add new reply flag for the buttons 2022-10-09 20:08:33 +03:00
Demian
3ba2966f52 context: remove AnswerWebApp 2022-10-06 23:53:02 +03:00
Demian
65f19ba636 markup: fix web_app conflict with switch_inline_query_current_chat 2022-10-06 01:11:11 +03:00
Demian
b8cc28a9be markup: add WebApp to the Btn 2022-10-06 01:00:11 +03:00
Demian
d90e8974cc telebot: restructure and refactor 2022-10-06 00:45:27 +03:00
Demian
bd66ef87a9 chat: add has_restricted_voice_and_video_messages field 2022-10-05 23:31:01 +03:00
Demian
8042463d7f stickers: implement custom emoji support 2022-10-05 23:29:46 +03:00
Demian
e40eb7082f chat: add added_to_attachment_menu field 2022-10-05 15:08:30 +03:00
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