easybridge/appservice/account.go

33 lines
497 B
Go
Raw Normal View History

2020-02-16 18:30:49 +00:00
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
}