class documentation

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

View In Hierarchy

A GUI window of a conversation with a group of people.

Instance Variable chatui The GUI chat client associated with this conversation.
Instance Variable group The group of people that are having this conversation.
Instance Variable members The names of the people in this conversation.
Method __init__
Method show Display the GroupConversationWindow.
Method hide Hide the GroupConversationWindow.
Method sendText Send text to the group.
Method showGroupMessage Display to the user a message sent to this group from the given sender.
Method setGroupMembers Set the list of members in the group.
Method setTopic Change the topic for the group conversation window and display this change to the user.
Method memberJoined Add the given member to the list of members in the group conversation and displays this to the user.
Method memberChangedNick Change the nickname for a member of the group conversation and displays this change to the user.
Method memberLeft Delete the given member from the list of members in the group conversation and displays the change to the user.
chatui = (source)
The GUI chat client associated with this conversation.
(type: ChatUI)
group = (source)
The group of people that are having this conversation.
(type: IGroup provider)
members = (source)
The names of the people in this conversation.
(type: list of str)
def __init__(self, group, chatui): (source)
ParametersgroupThe group of people that are having this conversation. (type: IGroup provider)
chatuiThe GUI chat client associated with this conversation. (type: ChatUI)
def show(self): (source)

Display the GroupConversationWindow.

def hide(self): (source)

Hide the GroupConversationWindow.

def sendText(self, text): (source)

Send text to the group.

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

Display to the user a message sent to this group from the given sender.

ParameterssenderThe person sending the message. (type: str)
textThe sent message. (type: str)
metadataMetadata associated with this message. (type: dict)
def setGroupMembers(self, members): (source)

Set the list of members in the group.

ParametersmembersThe names of the people that will be in this group. (type: list of str)
def setTopic(self, topic, author): (source)

Change the topic for the group conversation window and display this change to the user.

ParameterstopicThis group's topic. (type: str)
authorThe person changing the topic. (type: str)
def memberJoined(self, member): (source)

Add the given member to the list of members in the group conversation and displays this to the user.

ParametersmemberThe person joining the group conversation. (type: str)
def memberChangedNick(self, oldnick, newnick): (source)

Change the nickname for a member of the group conversation and displays this change to the user.

ParametersoldnickThe old nickname. (type: str)
newnickThe new nickname. (type: str)
def memberLeft(self, member): (source)

Delete the given member from the list of members in the group conversation and displays the change to the user.

ParametersmemberThe person leaving the group conversation. (type: str)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.