Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bmatrix ¶
type Bmatrix struct {
UserID string
NicknameMap map[string]NicknameCacheEntry
RoomMap map[string]string
sync.RWMutex
*bridge.Config
// contains filtered or unexported fields
}
func (*Bmatrix) Disconnect ¶
func (*Bmatrix) JoinChannel ¶
func (b *Bmatrix) JoinChannel(channel config.ChannelInfo) error
type EditedMessage ¶
type EditedMessage struct {
NewContent SubTextMessage `json:"m.new_content"`
RelatedTo MessageRelation `json:"m.relates_to"`
matrix.TextMessage
}
type InReplyToRelation ¶
type InReplyToRelation struct {
InReplyTo InReplyToRelationContent `json:"m.in_reply_to"`
}
type InReplyToRelationContent ¶
type InReplyToRelationContent struct {
EventID string `json:"event_id"`
}
type MessageRelation ¶
MessageRelation explains how the current message relates to a previous message. Notably used for message edits.
type NicknameCacheEntry ¶
type NicknameCacheEntry struct {
// contains filtered or unexported fields
}
type ReplyMessage ¶
type ReplyMessage struct {
RelatedTo InReplyToRelation `json:"m.relates_to"`
matrix.TextMessage
}
Click to show internal directories.
Click to hide internal directories.