Implements interfaces: twisted.words.iwords.IChatClient

Undocumented
Method receive Callback notifying this user of the given message sent by the given user.
Method groupMetaUpdate Callback notifying this user that the metadata for the given group has changed.
Method userJoined Callback notifying this user that the given user has joined the given group.
Method userLeft Callback notifying this user that the given user has left the given group for the given reason.

Inherited from Ephemeral (via RemoteReference):

Method __reduce__ Serialize any subclass of Ephemeral in a way which replaces it with Ephemeral itself.
Method __getstate__ Undocumented
Method __setstate__ Undocumented

Inherited from Ephemeral (via RemoteReference):

Method __reduce__ Serialize any subclass of Ephemeral in a way which replaces it with Ephemeral itself.
Method __getstate__ Undocumented
Method __setstate__ Undocumented

Inherited from Ephemeral (via RemoteReference):

Method __reduce__ Serialize any subclass of Ephemeral in a way which replaces it with Ephemeral itself.
Method __getstate__ Undocumented
Method __setstate__ Undocumented

Inherited from Ephemeral (via RemoteReference):

Method __reduce__ Serialize any subclass of Ephemeral in a way which replaces it with Ephemeral itself.
Method __getstate__ Undocumented
Method __setstate__ Undocumented
def receive(self, sender, recipient, message): (source)

Callback notifying this user of the given message sent by the given user.

This will be invoked whenever another user sends a message to a group this user is participating in, or whenever another user sends a message directly to this user. In the former case, recipient will be the group to which the message was sent; in the latter, it will be the same object as the user who is receiving the message.

ReturnsA Deferred which fires when the message has been delivered, or which fails in some way. If the Deferred fails and the message was directed at a group, this user will be removed from that group. (type: twisted.internet.defer.Deferred)
def groupMetaUpdate(self, group, meta): (source)

Callback notifying this user that the metadata for the given group has changed.

Returns (type: twisted.internet.defer.Deferred)
def userJoined(self, group, user): (source)

Callback notifying this user that the given user has joined the given group.

Returns (type: twisted.internet.defer.Deferred)
def userLeft(self, group, user, reason=None): (source)

Callback notifying this user that the given user has left the given group for the given reason.

Returns (type: twisted.internet.defer.Deferred)
API Documentation for Twisted, generated by pydoctor at 2017-06-11 10:59:01.