IPWorks IoT 2020 Python Edition

Questions / Feedback?

message_type Property

This is the type of the current message.

Syntax

def get_message_type() -> int: ...
def set_message_type(value: int) -> None: ...

message_type = property(get_message_type, set_message_type)

Default Value

0

Remarks

message_type is the type of the message as specified in the XMPP RFC. The possible values are defined in the protocol specification as follows:

normal (mtNormal - 0)A single message.
chat (mtChat - 1)A message sent in the context of two-way chat between two entities.
groupchat (mtGroupChat - 2)A message sent in the context of multi-user chat among multiple entities.
headline (mtHeadline - 3)A message that represents one of a list of items (e.g., in a news feed or information ticker).
error (mtError - 4)A message returned to a sender specifying an error associated with a previous message sent by the sender to an intended recipient.

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