Documentation ¶
Index ¶
- type ChatModel
- func (m *ChatModel) GetChatBySelfID(selfUserId, chatId int32) (chat *mtproto.Chat)
- func (m *ChatModel) GetChatFullBySelfId(selfUserId int32, chatData *chatLogicData) *mtproto.TLChatFull
- func (m *ChatModel) GetChatListBySelfAndIDList(selfUserId int32, idList []int32) (chats []*mtproto.Chat)
- func (m *ChatModel) InstallModel()
- func (m *ChatModel) NewChatLogicByCreateChat(creatorId int32, userIds []int32, title string) (chatData *chatLogicData)
- func (m *ChatModel) NewChatLogicById(chatId int32) (chatData *chatLogicData, err error)
- func (m *ChatModel) RegisterCallback(cb interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatModel ¶
type ChatModel struct {
// contains filtered or unexported fields
}
func (*ChatModel) GetChatBySelfID ¶
func (*ChatModel) GetChatFullBySelfId ¶
func (m *ChatModel) GetChatFullBySelfId(selfUserId int32, chatData *chatLogicData) *mtproto.TLChatFull
func (*ChatModel) GetChatListBySelfAndIDList ¶
func (*ChatModel) InstallModel ¶
func (m *ChatModel) InstallModel()
func (*ChatModel) NewChatLogicByCreateChat ¶
func (*ChatModel) NewChatLogicById ¶
func (*ChatModel) RegisterCallback ¶
func (m *ChatModel) RegisterCallback(cb interface{})
Click to show internal directories.
Click to hide internal directories.