InvokeAfterMsgsRequest
Both users and bots can use this request. See code examples.
---functions--- invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector<long> query:!X = X
Returns
This request returns the result of whatever the result from invoking the request passed through query is.
Parameters
msg_ids | long | A list must be supplied. |
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.InvokeAfterMsgsRequest( msg_ids=[-12398745604826], query=other_request )) print(result.stringify())