chat

package
v0.0.0-...-e41513e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2020 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

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 (m *ChatModel) GetChatBySelfID(selfUserId, chatId int32) (chat *mtproto.Chat)

func (*ChatModel) GetChatFullBySelfId

func (m *ChatModel) GetChatFullBySelfId(selfUserId int32, chatData *chatLogicData) *mtproto.TLChatFull

func (*ChatModel) GetChatListBySelfAndIDList

func (m *ChatModel) GetChatListBySelfAndIDList(selfUserId int32, idList []int32) (chats []*mtproto.Chat)

func (*ChatModel) InstallModel

func (m *ChatModel) InstallModel()

func (*ChatModel) NewChatLogicByCreateChat

func (m *ChatModel) NewChatLogicByCreateChat(creatorId int32, userIds []int32, title string) (chatData *chatLogicData)

func (*ChatModel) NewChatLogicById

func (m *ChatModel) NewChatLogicById(chatId int32) (chatData *chatLogicData, err error)

func (*ChatModel) RegisterCallback

func (m *ChatModel) RegisterCallback(cb interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL