IPWorks S/MIME 2020 Python Edition

Questions / Feedback?

on_group_list Event

Fired while group data transfers (during group listings).

Syntax

class SNNTPGroupListEventParams(object):
  @property
  def group() -> str: ...
  @property
  def first_article() -> int: ...
  @property
  def last_article() -> int: ...
  @property
  def can_post() -> bool: ...

# In class SNNTP:
@property
def on_group_list() -> Callable[[SNNTPGroupListEventParams], None]: ...
@on_group_list.setter
def on_group_list(event_hook: Callable[[SNNTPGroupListEventParams], None]) -> None: ...

Remarks

The on_group_list event is fired for every group reported by the news_server when the list_groups or list_new_groups method is called.

The Group parameter shows the name of the group.

The FirstArticle and LastArticle parameters contain the article numbers for the first and last articles in the group.

The CanPost is True or False depending on whether article posting is allowed in the group specified by Group.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks S/MIME 2020 Python Edition - Version 20.0 [Build 7941]