Cloud Mail 2020 Python Edition

Questions / Feedback?

on_folder_list Event

Fired when a folder is retrieved by the server.

Syntax

class Office365FolderListEventParams(object):
  @property
  def id() -> str: ...
  @property
  def display_name() -> str: ...
  @property
  def parent_folder_id() -> str: ...
  @property
  def child_folder_count() -> int: ...
  @property
  def unread_item_count() -> int: ...
  @property
  def total_item_count() -> int: ...

# In class Office365:
@property
def on_folder_list() -> Callable[[Office365FolderListEventParams], None]: ...
@on_folder_list.setter
def on_folder_list(event_hook: Callable[[Office365FolderListEventParams], None]) -> None: ...

Remarks

The on_folder_list event is fired for each folder retrieved from the server when list_folders is called.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Mail 2020 Python Edition - Version 20.0 [Build 7718]