Cloud Mail 2020 Python Edition

Questions / Feedback?

on_message_part Event

Fired when a message part is retrieved from the server.

Syntax

class GMailMessagePartEventParams(object):
  @property
  def id() -> str: ...
  @property
  def attachment_id() -> str: ...
  @property
  def filename() -> str: ...
  @property
  def content_type() -> str: ...
  @property
  def size() -> int: ...
  @property
  def data() -> str: ...

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

Remarks

The on_message_part_list event is fired for each message part 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]