list_groups Method
Lists all groups on the server.
Syntax
def list_groups() -> None: ...
Remarks
This method asks the server to list all its newsgroups. Use this method with caution as listing groups may take quite a long over slow links. The group names and other information are returned via the on_group_list event.
If a connection to the news_server doesn't already exist, a new one is created.