getInputPeer
Get a chat’s inputPeer. Useful when calling API functions directly.
Parameters
The identifier of a chat.
Result
Api.InputPeer
Syntax
await client.getInputPeer(id);
Get a chat’s inputPeer. Useful when calling API functions directly.
The identifier of a chat.
await client.getInputPeer(id);