IPWorks OpenPGP 2020 Python Edition

Questions / Feedback?

on_message_list Event

Fired for every message listed by ListMessageSizes and/or ListMessageUIDs .

Syntax

class PPOPMessageListEventParams(object):
  @property
  def message_number() -> int: ...
  @property
  def message_uid() -> str: ...
  @property
  def message_size() -> int: ...

# In class PPOP:
@property
def on_message_list() -> Callable[[PPOPMessageListEventParams], None]: ...
@on_message_list.setter
def on_message_list(event_hook: Callable[[PPOPMessageListEventParams], None]) -> None: ...

Remarks

When list_message_sizes is called, MessageSize is valid, and MessageUID is always an empty string.

When list_message_ui_ds is called, MessageUID is valid, and MessageSize is 0.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 Python Edition - Version 20.0 [Build 8161]