Commit Graph

774 Commits

Author SHA1 Message Date
Demian
888979b0fd options: correct Split len formula 2021-08-30 02:22:09 +03:00
Demian
34885a0114 layout: implement Int64s config function 2021-08-28 21:46:38 +03:00
Demian
32252d3e8c layout: embed a Config in DefaultLayout 2021-08-28 21:40:45 +03:00
Demian
a5cdcec88b middleware: fix IgnoreVia nil dereference 2021-08-28 21:14:13 +03:00
Demian
20ec6fc7fc bot: tidy the chat member type 2021-08-19 17:40:44 +03:00
Demian
570c656d0c context: add original update to the context 2021-08-19 17:26:05 +03:00
Demian
cb12b170d3 telebot: add missed events 2021-08-19 16:40:07 +03:00
Demian
1b1c30eeb2 telebot: update docs, reorder events 2021-08-19 16:15:20 +03:00
Demian
99226e5292 context: add update id field 2021-08-19 13:46:04 +03:00
Demian
ae69423c6e context: implement Bot function 2021-08-15 20:55:12 +03:00
Demian
c720c43f56 middleware: implement IgnoreVia 2021-08-10 15:22:27 +03:00
Demian
7981009da5 layout: pass yaml.JSON encoding option to keep whitespaces as a value 2021-08-04 15:45:18 +03:00
Demian
ec2cb655e7 layout: trim slash symbol in commands 2021-08-04 15:11:47 +03:00
Demian
fe3f4aa533 layout: add commands section 2021-08-04 15:10:18 +03:00
Demian
f8ff8053ab layout: fix documentation typos 2021-08-02 17:33:08 +03:00
Demian
0c6b451fbf middleware: rename Respond to AutoRespond 2021-07-30 18:36:30 +03:00
Demian
79ace6bc54 middleware: implement auto callback respond 2021-07-30 18:33:45 +03:00
Demian
d89e904397 layout: wrap Callback function for DefaultLayout 2021-07-29 22:40:27 +03:00
demget
346b6bfe9d
Merge pull request #429 from Rostish/v3
Chat() *Chat logic expanded
2021-07-28 23:34:09 +03:00
Aleksandr
65c920beff Chat() *Chat logic expanded
myChatMember and chatMember cases were added
2021-07-28 16:06:04 +03:00
Demian
33ea17f0ea context: extend Args function 2021-07-28 10:30:52 +03:00
Demian
6b6558547b context: fix nil dereference in Chat function 2021-07-27 22:16:09 +03:00
Demian
635f51c455 callbacks: handle both inline and regular messages in MessageSig 2021-07-27 22:10:26 +03:00
Demian
cdb2d59f4a context: fix ChatMember function name 2021-07-27 21:23:34 +03:00
Demian
5df77562df examples: remove directory for now 2021-07-27 16:04:04 +03:00
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