IPWorks OpenPGP 2020 Python Edition

Questions / Feedback?

on_message_list Event

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


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

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


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]