join_folder()#
- Client.join_folder()#
Join a folder by its invite link.
Usable by Users Bots- Parameters:
link (
str
) – Invite link of the folder.- Returns:
bool
– True, on success.- Raises:
BadRequest – In case the folder invite link not exists.
ValueError – In case the folder invite link is invalid.
Example
# join folder app.join_folder("t.me/addlist/ebXQ0Q0I3RnGQ")