Cloud Mail 2020 Python Edition

Questions / Feedback?

on_message_info Event

Fired when a message is retrieved from the server.

Syntax

class GMailMessageInfoEventParams(object):
  @property
  def id() -> str: ...
  @property
  def thread_id() -> str: ...
  @property
  def history_id() -> str: ...
  @property
  def internal_date() -> str: ...
  @property
  def subject() -> str: ...
  @property
  def labels() -> str: ...
  @property
  def from_() -> str: ...
  @property
  def sent_to() -> str: ...
  @property
  def cc() -> str: ...
  @property
  def bcc() -> str: ...
  @property
  def snippet() -> str: ...
  @property
  def size() -> int: ...

# In class GMail:
@property
def on_message_info() -> Callable[[GMailMessageInfoEventParams], None]: ...
@on_message_info.setter
def on_message_info(event_hook: Callable[[GMailMessageInfoEventParams], None]) -> None: ...

Remarks

The on_message_list event is fired for each folder retrieved from the server when list_messages or list_drafts is called.

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