invokeAfterMsgs<T extends TlObject> method
Invoke After Msgs.
ID: 3dc4b4f0
.
Implementation
Future<Result<T>> invokeAfterMsgs<T extends TlObject>({
required List<int> msgIds,
required TlMethod query,
}) async {
// Preparing the request.
final request = InvokeAfterMsgs(
msgIds: msgIds,
query: query,
);
// Invoke and wait for response.
final response = await invoke(request);
// Return the result.
return response._to<T>();
}