Methods

getAdministeredChats

Get administered chats. USER-ONLY

Parameters

isForPersonalChannel?: boolean

Whether to return a list of channels suitable for setting as personal channel.

Result

A list of administered chats.

Syntax

// Optional parameters.
// Any of the optional parameters can be omitted.
await client.getAdministeredChats( { isForPersonalChannel });