Documentation ¶
Index ¶
- type Room
- func (r *Room) GetAvatar() ([]byte, error)
- func (r *Room) GetMessages() []matrix.Message
- func (r *Room) GetName() (string, error)
- func (r *Room) GetRoomAliases() []string
- func (r *Room) GetRoomID() string
- func (r *Room) GetTopic() (string, error)
- func (r *Room) SetAvatar(avatar []byte)
- func (r *Room) SetMessages(messages []matrix.Message)
- func (r *Room) SetName(name string)
- func (r *Room) SetRoomAliases(aliases []string)
- func (r *Room) SetRoomID(id string)
- func (r *Room) SetTopic(topic string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Room ¶
type Room struct {
// contains filtered or unexported fields
}
Room holds the needed Room data and allows to work with that. It gets normally loaded from the cache
func (*Room) GetMessages ¶
GetMessages returns the messages from the current Room
func (*Room) GetRoomAliases ¶
GetRoomAliases returns the room aliases from the current Room
func (*Room) SetMessages ¶
SetMessages adds the messages to the current Room
func (*Room) SetRoomAliases ¶
SetRoomAliases adds the aliases to the current Room
Click to show internal directories.
Click to hide internal directories.