class documentation

class twisted.words.im.basechat.Conversation: (source)

View In Hierarchy

A GUI window of a conversation with a specific person.

Instance Variable person The person who you're having this conversation with.
Instance Variable chatui The GUI chat client associated with this conversation.
Method __init__
Method show Display the ConversationWindow.
Method hide Hide the ConversationWindow.
Method sendText Send text to the person with whom the user is conversing.
Method showMessage Display a message sent from the person with whom the user is conversing.
Method contactChangedNick Change a person's name.
person = (source)
The person who you're having this conversation with.
(type: IPerson provider)
chatui = (source)
The GUI chat client associated with this conversation.
(type: ChatUI)
def __init__(self, person, chatui): (source)
ParameterspersonThe person who you're having this conversation with. (type: IPerson provider)
chatuiThe GUI chat client associated with this conversation. (type: ChatUI)
def show(self): (source)

Display the ConversationWindow.

def hide(self): (source)

Hide the ConversationWindow.

def sendText(self, text): (source)

Send text to the person with whom the user is conversing.

ParameterstextThe text to be sent. (type: str)
def showMessage(self, text, metadata=None): (source)

Display a message sent from the person with whom the user is conversing.

ParameterstextThe sent message. (type: str)
metadataMetadata associated with this message. (type: dict)
def contactChangedNick(self, person, newnick): (source)

Change a person's name.

ParameterspersonThe person whose nickname is changing. (type: IPerson provider)
newnickThe new nickname for this person. (type: str)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.