InvokeAfterMsgRequest
Both users and bots can use this request. See code examples.
---functions--- invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X
Returns
This request returns the result of whatever the result from invoking the request passed through query is.
Parameters
msg_id | long | |
query | !X | A different Request must be supplied for this argument. |
Known RPC errors
This request can't cause any RPC error as far as we know.
Example
from telethon.sync import TelegramClient from telethon import functions, types with TelegramClient(name, api_id, api_hash) as client: result = client(functions.InvokeAfterMsgRequest( msg_id=-12398745604826, query=other_request )) print(result.stringify())