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 ¶ added in v1.20.0
type EditedMessage struct {
NewContent SubTextMessage `json:"m.new_content"`
RelatedTo MessageRelation `json:"m.relates_to"`
matrix.TextMessage
}
type InReplyToRelation ¶ added in v1.24.0
type InReplyToRelation struct {
InReplyTo InReplyToRelationContent `json:"m.in_reply_to"`
}
type InReplyToRelationContent ¶ added in v1.24.0
type InReplyToRelationContent struct {
EventID string `json:"event_id"`
}
type MessageRelation ¶ added in v1.20.0
MessageRelation explains how the current message relates to a previous message. Notably used for message edits.
type NicknameCacheEntry ¶ added in v1.20.0
type NicknameCacheEntry struct {
// contains filtered or unexported fields
}
type ReplyMessage ¶ added in v1.24.0
type ReplyMessage struct {
RelatedTo InReplyToRelation `json:"m.relates_to"`
matrix.TextMessage
}
Click to show internal directories.
Click to hide internal directories.