woob.capabilities.chat
¶
- exception ChatException[source]¶
Bases:
UserError
Exception raised when there is a problem with the chat.
- class ChatMessage(id_from, id_to, message, date=None, url=None)[source]¶
Bases:
BaseObject
Message on the chat.
- class CapChat[source]¶
Bases:
Capability
Websites with a chat system.
- iter_chat_messages(_id=None)[source]¶
Iter messages.
- Parameters:
_id (str) – optional parameter to only get messages (default:
None
) from a given contact.- Return type:
iter[
ChatMessage
]