@paginated_retrieval('<STR_LIT>', itemtype=Channel)<EOL>def list_(*, cursor: str=None,<EOL>exclude_archived: bool=None,<EOL>exclude_members: bool=None,<EOL>limit: int=None) -> snug.Query[Page[t.List[Channel]]]:
kwargs = {<EOL>'<STR_LIT>': exclude_archived,<EOL>'<STR_LIT>':  exclude_members,<EOL>'<STR_LIT>':            limit<EOL>}<EOL>response = yield {'<STR_LIT>': cursor, **kwargs}<EOL>try:<EOL><INDENT>next_cursor = response['<STR_LIT>']['<STR_LIT>']<EOL><DEDENT>except KeyError:<EOL><INDENT>next_query = None<EOL><DEDENT>else:<EOL><INDENT>next_query = list_(**kwargs, cursor=next_cursor)<EOL><DEDENT>return Page(<EOL>load_channel_list(response['<STR_LIT>']),<EOL>next_query=next_query,<EOL>)<EOL>
list all channels