Commit Graph

45 Commits

Author SHA1 Message Date
Demian
631e63d427 context: add missed Sender cases 2021-11-25 14:06:12 +02:00
Demian
844466d6fa context: fix EditCaption call 2021-11-08 11:34:19 +02:00
Demian
435b1e3b63 context: implement Media function, return Caption in Text 2021-11-07 18:27:25 +02:00
Demian
58b0e788ac context: add chat join request to the Sender and Chat functions 2021-11-05 22:38:30 +02:00
Demian
8f5f797de8 implement bot api 5.4 2021-11-05 22:31:32 +02:00
Demian
f457be52e3 context: update edit functions 2021-08-31 14:08:51 +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
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
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
Aleksandr
7a82cc1f45 ChatMemberUpdated() -> ChatMember() func name has been changed 2021-07-27 15:15:36 +03:00
Aleksandr
2f352ae380 Combine chatMember funcs 2021-07-27 09:22:00 +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
e9781d5a63 context: implement helper EditOrSend and EditOrReply functions 2021-07-08 14:08:27 +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
f624062eec context: use Chat recipient first, then Sender one 2021-06-20 16:30:45 +03:00
lcd1232
82f4e787ef Support get/set 2021-03-12 11:03:27 +03:00
Demian
9063018d2b context: rename SenderOrChat to Recipient, change Sender return type to User 2020-11-07 19:51:16 +02:00
Demian
9e23343684 context: expose SenderOrChat function 2020-10-22 19:29:12 +03:00
Demian
fe1015dd7a context: add additional checks for recipient 2020-10-22 18:28:15 +03:00
Demian
4e02fbfc4f middleware/logger: use data as text for callbacks 2020-10-12 20:45:50 +03:00
Demian
29b8f9343c context: implement Data function 2020-10-12 18:46:45 +03:00
Demian
291010edb2 context: allow Edit only for callbacks 2020-10-12 18:16:13 +03:00
Demian
95a99609b1 revert "context: Edit cannot edit the current message"
Context-dependent Edit is needed to edit the callback messages at least.

This reverts commit 57be5879bc.
2020-10-12 17:39:40 +03:00
Demian
0904e2ffec context: implement Chat function 2020-10-10 13:44:39 +03:00
Demian
57be5879bc context: Edit cannot edit the current message 2020-10-09 14:07:00 +03:00
Demian
cf5edf4042 context: implement the opposite to Forward 2020-10-08 22:46:26 +03:00
Demian
b10f986ba2 context: fix message selecting for callbacks 2020-09-26 18:58:00 +03:00
Demian
b291e4fc08 layout: should be separated and completely independent 2020-09-15 16:49:20 +03:00
Demian
a94205252a layout: first implementation 2020-09-06 16:56:44 +03:00
Demian
f1015d1754 middleware: basic implementation and groups 2020-07-25 23:55:01 +03:00
Demian
a69dd5aa62 context: add Args helper function 2020-07-25 23:08:51 +03:00
Demian
5f6792d860 context: adapt handlers 2020-07-25 22:44:50 +03:00
Demian
5a1a187e87 telebot: clarify and fix all naming issues 2020-06-19 23:36:43 +03:00
Demian
fd55a4b8a7 context: first implementation 2020-06-19 22:48:05 +03:00