Commit Graph

54 Commits

Author SHA1 Message Date
Demian
ad84cbde5a context: add message Entities function 2022-11-14 13:02:38 +02:00
Demian
3ba2966f52 context: remove AnswerWebApp 2022-10-06 23:53:02 +03:00
Demian
cee9ad2ddd telebot: refactor web apps 2022-10-05 00:11:00 +03:00
Mikhail Borovikov
2c2e8dcff1 Added AnswerWebApp for using in a Handle method 2022-04-18 00:37:19 +07:00
Demian
10b70148f7 message: move Media function from context 2022-01-23 00:26:05 +02:00
Demian
be2933a4fa all: use errors from the standard library 2022-01-22 19:42:45 +02:00
Demian
f2a7d458a0 context: check for Message properly 2022-01-22 18:32:04 +02:00
Demian
1004fb5df1 context: implement DeleteAfter helper function 2022-01-21 14:58:02 +02:00
Demian
3a6cb71b40 context: remove excessive fields 2022-01-21 14:47:11 +02:00
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