get_personal_channels()

async Client.get_personal_channels()

Get all your public channels.

Usable by Users Bots
Parameters:

for_community_peer (bool, optional) – Pass True to get channels suitable for community linking.

Returns:

List of Chat – On success, a list of personal channels is returned.

Example

# Get all your personal channels
await app.get_personal_channels()