gmessages/libgm/events/ready.go
2023-06-30 16:09:29 +03:00

18 lines
426 B
Go

package events
import (
"go.mau.fi/mautrix-gmessages/libgm/binary"
"go.mau.fi/mautrix-gmessages/libgm/util"
)
type ClientReady struct {
Session *util.SessionResponse
Conversations []*binary.Conversation
}
func NewClientReady(session *util.SessionResponse, conversationList *binary.Conversations) *ClientReady {
return &ClientReady{
Session: session,
Conversations: conversationList.Conversations,
}
}