Add support for cross-chat replies. - #6
Conversation
Signed-off-by: Aliwoto <woto@kaizoku.cyou>
|
Thanks, but doesn't this require a schema update to work? |
Oh I thought your tl is updated to latest layer, let me see |
|
@alissonlauffer I just checked looks like your scheme supports parsing |
|
Btw, I have also implemented cross-chat replies in But that requires latest layer, so yeah. |
|
I see that you added the Last thing, It'd be better if you use |
|
Ah, before I forget, do you know how does the bot API handles this? Since Pyrogram is intended to be a MTProto client with a similar API to that of the bot API. |
|
@alissonlauffer bot api doesn't handle this yet |
|
We have lots of bot api bots in our groups, one of them is a group management one |
|
Oh btw, about is_cross_chat attr, yeah, I was just doing that for debug purposes in my own fork, was planning to remove it later on, forgot |
|
Well, I'll keep this PR open for a while, because it needs some manual changes, and I'm also a bit busy with a new project. |
New telegram update added a new feature called cross-chat replies: you can reply to messages which are sent in other chats.
Currently pyrogram cannot parse such messages (updates/commands will not get triggered;
get_messageswill raiseInvalidMsgIdexception, etc).This pull request adds support for fetching cross-chat replies.