imessagedb.chat

Module Contents

Classes

Chat

Class for holding information about a chat

class imessagedb.chat.Chat(database, rowid: str, chat_identifier: str, chat_name: str, last_message_date=None)[source]

Class for holding information about a chat

property rowid: str
property chat_identifier: str
property chat_name: str
property last_message_date: datetime.datetime
property participants: str

Returns the participants in the chat

__repr__() str[source]

Return repr(self).

add_participant(participant: str)[source]

Add a participant to the chat