Commit Graph

599 Commits

Author SHA1 Message Date
demget
12d72970f3
Merge pull request #427 from Rostish/v3
Combine chatMember funcs
2021-07-27 15:19:53 +03:00
Demian
802d480e10 middleware: change Restrict middleware chats type to int64 2021-07-27 15:18:01 +03:00
Aleksandr
7a82cc1f45 ChatMemberUpdated() -> ChatMember() func name has been changed 2021-07-27 15:15:36 +03:00
Demian
8f725d434e chat: change User id type to int64 2021-07-27 15:12:10 +03:00
Demian
90abbce6dd layout: avoid nil dereference in ResultLocale 2021-07-27 14:55:20 +03:00
Aleksandr
2f352ae380 Combine chatMember funcs 2021-07-27 09:22:00 +03:00
Demian
86e6d40b1b layout: add arguments support in text template function 2021-07-26 22:39:24 +03:00
Demian
746f3d6668 options: replace variadic argument with a slice 2021-07-26 18:08:10 +03:00
Demian
2afdf466de layout: move template functions from global scope to the constructor 2021-07-26 18:03:40 +03:00
Demian
f4ae9d0c08 context: add chat member updates 2021-07-26 17:37:48 +03:00
Demian
f61d30b66b telebot: satisfy Editable for Callback and InlineResult, remove InlineID from Message 2021-07-25 16:07:48 +03:00
Demian
fb7de291df telebot: rename ChosenInlineResult to the InlineResult 2021-07-25 15:49:17 +03:00
Demian
19e28229ea telebot: remove pointer to the InputMessageContent inside ResultBase 2021-07-25 15:42:40 +03:00
Demian
5ba8bf6a2f telebot: update docs 2021-07-25 15:39:45 +03:00
jasonkhew96
26b5194b68 Fix ChatMemberUpdated 2021-07-25 15:33:06 +03:00
demget
bd0bb74d13 Merge pull request #408 from DiscoreMe/develop
api: support 5.2
2021-07-25 15:32:08 +03:00
demget
e02f9ceb37 Merge pull request #401 from comerc/v2
Add copyMessage
2021-07-25 15:28:17 +03:00
demget
e7f0e64c71 Merge pull request #407 from DiscoreMe/develop
api: support 5.1
2021-07-25 15:27:59 +03:00
demget
2d17e0e12c Merge pull request #405 from DiscoreMe/develop
api: support 5.0
2021-07-25 15:25:04 +03:00
demget
6785a1e3bd Merge pull request #388 from rusq/v2
Add Caption parameter to Voice structure
2021-07-25 15:18:26 +03:00
Enrico204
b6706e784c Decode big integers using Number and not float64 in error messages 2021-07-25 15:17:25 +03:00
Enrico204
cb3170d510 Add error parameters from JSON error to APIError 2021-07-25 15:17:20 +03:00
Enrico204
87a87bd338 Remove unused regex and format errors and utils files 2021-07-25 15:17:14 +03:00
Enrico204
ff90c378bb Parse error messages using JSON parser instead of regexes 2021-07-25 15:17:07 +03:00
demget
e03da5dc42 Merge pull request #382 from omar-polo/v2
implement my_chat_member and chat_member
2021-07-25 15:16:32 +03:00
Demian
8da1ac5dae tests: add missed restriction right 2021-07-25 15:14:47 +03:00
Ian P Badtrousers
8261689cda Merge pull request #377 from omar-polo/v2
implements voice chat service messages
2021-07-25 15:12:19 +03:00
demget
1b57dbc404 Merge pull request #371 from metalmatze/test-offline
Expose offline settings for Bot
2021-07-25 14:57:05 +03:00
demget
f29096837c Merge pull request #364 from rusq/v2
Enable handling callbacks with Unique contaning "-"
2021-07-25 14:56:19 +03:00
demget
6de4d3e537 Merge pull request #338 from PaulLesur/bowling-dice
Add bowling dice
2021-07-25 14:54:37 +03:00
Hung-I Wang
6de60f7d68 Fix a typo in the comment of SetGroupDescription 2021-07-25 14:42:50 +03:00
Demian
c1d4818e35 layout: make locale templates association correct 2021-07-25 14:26:56 +03:00
Demian
40638d1878 layout: rename settings.go file to the parser.go 2021-07-25 14:16:49 +03:00
Demian
5108157783 layout: add inline query results support 2021-07-25 14:15:42 +03:00
Demian
3281935f9c options: add missed force reply option to the Placeholder 2021-07-23 20:19:12 +03:00
Demian
7a12453c8a options: add input field placeholder option 2021-07-23 20:12:27 +03:00
Demian
963aaea7bf layout: implement default layout 2021-07-22 20:43:32 +03:00
Demian
9be6c9e313 mod: update 2021-07-21 14:51:43 +03:00
Ian P Badtrousers
5a64e9fc62 Bwahahahahaha 2021-07-15 05:12:33 +03:00
Demian
e9781d5a63 context: implement helper EditOrSend and EditOrReply functions 2021-07-08 14:08:27 +03:00
Demian
061d8ab4ba inline: enable ability to use default parse mode 2021-07-07 16:00:51 +03:00
Demian
c97641b811 layout: implement Locales function 2021-07-07 13:28:41 +03:00
Demian
91a85c9b5a layout: replace json tags with yaml ones 2021-07-07 13:17:57 +03:00
Demian
965bc10466 layout: add shorter data alias for callback_data 2021-07-07 13:16:38 +03:00
Demian
55ffac1c33 context: clarify 2021-07-07 12:52:28 +03:00
Ian P Badtrousers
7e3a68249a context: args used to return [""] of length 1 2021-07-05 14:25:29 +03:00
demget
83bd8dd89d
Merge pull request #375 from lcd1232/get_set
Support get/set
2021-07-04 02:16:35 +03:00
Demian
55a27add1d context: return command payload on Data 2021-06-21 14:23:41 +03:00
Demian
9c67c31592 bot: make ChatMemberOf accept Recipient interface 2021-06-20 19:00:31 +03:00
Demian
f624062eec context: use Chat recipient first, then Sender one 2021-06-20 16:30:45 +03:00