Package twisted :: Package im :: Module interfaces :: Class IGroup
[show private | hide private]
[frames | no frames]

Class IGroup

NonMetaInterface --+
                   |
                  IGroup


A group which you may have a conversation with.

Groups generally have a loosely-defined set of members, who may leave and join at any time.
Method Summary
  __init__(self, name, account)
Initialize me.
  join(self)
  leave(self)
  sendGroupMessage(self, text, metadata)
Send a message to this group.
  setTopic(self, text)

Instance Variable Summary
Account<IAccount> account - The account I am accessed through.
string name - My name, as the server knows me.

Method Details

__init__(self, name, account)
(Constructor)

Initialize me.
Parameters:
name - My name, as the server knows me.
           (type=string)
account - The account I am accessed through.
           (type=Account<IAccount>)

sendGroupMessage(self, text, metadata=None)

Send a message to this group.
Parameters:
text
           (type=string)
metadata
           (type=dict)

Instance Variable Details

account

The account I am accessed through.
Type:
Account<IAccount>

name

My name, as the server knows me.
Type:
string

Generated by Epydoc 1.1 on Fri Jun 27 03:45:29 2003 http://epydoc.sf.net