message_send_checkpoint
- class mautrix.util.message_send_checkpoint.MessageSendCheckpointStep
Bases:
mautrix.types.SerializableEnum
An enumeration.
- CLIENT = 'CLIENT'
- HOMESERVER = 'HOMESERVER'
- BRIDGE = 'BRIDGE'
- DECRYPTED = 'DECRYPTED'
- REMOTE = 'REMOTE'
- COMMAND = 'COMMAND'
- class mautrix.util.message_send_checkpoint.MessageSendCheckpointStatus
Bases:
mautrix.types.SerializableEnum
An enumeration.
- SUCCESS = 'SUCCESS'
- WILL_RETRY = 'WILL_RETRY'
- PERM_FAILURE = 'PERM_FAILURE'
- UNSUPPORTED = 'UNSUPPORTED'
- TIMEOUT = 'TIMEOUT'
- DELIVERY_FAILED = 'DELIVERY_FAILED'
- class mautrix.util.message_send_checkpoint.MessageSendCheckpointReportedBy
Bases:
mautrix.types.SerializableEnum
An enumeration.
- ASMUX = 'ASMUX'
- BRIDGE = 'BRIDGE'
- class mautrix.util.message_send_checkpoint.MessageSendCheckpoint
Bases:
mautrix.types.SerializableAttrs
- event_type: mautrix.types.EventType
- message_type: Optional[mautrix.types.MessageType]
- async send(endpoint, as_token, log)
- Parameters
endpoint (str) –
as_token (str) –
log (logging.Logger) –
- Return type
- __init__(event_id, room_id, step, timestamp, status, event_type, reported_by, retry_num=0, message_type=None, info=None, client_type=None, client_version=None)
Method generated by attrs for class MessageSendCheckpoint.
- Parameters
event_id (str) –
room_id (str) –
step (mautrix.util.message_send_checkpoint.MessageSendCheckpointStep) –
timestamp (int) –
status (mautrix.util.message_send_checkpoint.MessageSendCheckpointStatus) –
event_type (mautrix.types.EventType) –
reported_by (mautrix.util.message_send_checkpoint.MessageSendCheckpointReportedBy) –
retry_num (int) –
message_type (Optional[mautrix.types.MessageType]) –
info (Optional[str]) –
client_type (Optional[str]) –
client_version (Optional[str]) –
- Return type