Channel Object

class mumpy.channel.Channel(server, message=None)
get_description()

Queries the server for the channel’s description.

Returns:None
get_users()

Retrieves a list of Users in this channel.

Returns:a list of the Users in this channel
Return type:list
id

This channel’s ID.

remove()

Removes this channel from the server.

Returns:None
rename(new_name)

Sets the channel’s name to new_name.

Parameters:new_name (str) – The new name for the channel
Returns:None