easybridge/appservice/account.go
2020-02-16 19:30:49 +01:00

33 lines
497 B
Go

package appservice
import (
. "git.deuxfleurs.fr/Deuxfleurs/easybridge/connector"
)
type Account struct {
MatrixUser string
AccountName string
Protocol string
Conn Connector
}
func (a *Account) Joined(roomId RoomID) {
// TODO
}
func (a *Account) Left(roomId RoomID) {
// TODO
}
func (a *Account) UserInfoUpdated(user UserID, info *UserInfo) {
// TODO
}
func (a *Account) RoomInfoUpdated(roomId RoomID, info *RoomInfo) {
// TODO
}
func (a *Account) Event(event *Event) {
// TODO
}