on_group_overview Event

Fired for each line of article overview data (during group overviews).

Syntax

class NNTPGroupOverviewEventParams(object):
  @property
  def article_number() -> int: ...
  @property
  def subject() -> str: ...
  @property
  def from_() -> str: ...
  @property
  def article_date() -> str: ...
  @property
  def message_id() -> str: ...
  @property
  def references() -> str: ...
  @property
  def article_size() -> int: ...
  @property
  def article_lines() -> int: ...
  @property
  def other_headers() -> str: ...

# In class NNTP:
@property
def on_group_overview() -> Callable[[NNTPGroupOverviewEventParams], None]: ...
@on_group_overview.setter
def on_group_overview(event_hook: Callable[[NNTPGroupOverviewEventParams], None]) -> None: ...

Remarks

ArticleNumber contains the number of the article within the group.

Subject contains the subject of the article.

From contains the email address of the article author.

ArticleDate contains the date the article was posted.

MessageId contains the unique message id for the article.

References contains the message ids for the articles this article refers to (separated by spaces).

ArticleSize contains the size of the article in bytes.

ArticleLines contains the number of lines in the article.

OtherHeaders contains any other article headers that news_server chooses to display for the article.

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