package
Version:
v0.0.0-...-b89eba7
Opens a new window with list of versions in this module.
Published: Sep 26, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
SettingPin = "pin"
SettingShow = "show"
SettingNotDisturb = "not_disturb"
)
type AccountLogin struct {
EnToken string `json:"en_token"`
Address string `json:"address"`
}
type CreateNotify struct {
EnToken string `json:"en_token,omitempty"`
RelationID int64 `json:"relation_id,omitempty"`
AccountID int64 `json:"account_id,omitempty"`
MsgContent string `json:"msg_content,omitempty"`
MsgExtent *model.MsgExtend `json:"msg_extent"`
}
type DeleteRelation struct {
EnToken string `json:"en_token"`
RelationID int64 `json:"relation_id"`
}
type DissolveGroup struct {
EnToken string `json:"en_token"`
RelationID int64 `json:"relation_id"`
}
type InviteAccount struct {
EnToken string `json:"en_token"`
AccountID int64 `json:"account_id"`
}
type QuitGroup struct {
EnToken string `json:"en_token"`
AccountID int64 `json:"account_id"`
}
type ReadMsg struct {
EnToken string `json:"en_token"`
MsgIDs []int64 `json:"msg_ids"`
ReaderID int64 `json:"reader_id"`
}
type TransferGroup struct {
EnToken string `json:"en_token"`
AccountID int64 `json:"account_id"`
}
type UpdateAccount struct {
EnToken string `json:"en_token"`
Name string `json:"name"`
Gender string `json:"gender"`
Signature string `json:"signature"`
}
type UpdateEmail struct {
EnToken string `json:"en_token"`
Email string `json:"email"`
}
type UpdateMsgState struct {
EnToken string `json:"en_token"`
MsgType MsgType `json:"type"`
MsgID int64 `json:"msg_id"`
State bool `json:"state"`
}
type UpdateNickName struct {
EnToken string `json:"en_token"`
RelationID int64 `json:"relation_id"`
NickName string `json:"nick_name"`
}
type UpdateSettingState struct {
EnToken string `json:"en_token"`
Type SettingType `json:"type"`
RelationID int64 `json:"relation_id"`
State bool `json:"state"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.