gmessages/libgm/events/ready.go
2023-06-30 12:54:08 +03:00

18 lines
429 B
Go

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