Documentation ¶
Index ¶
- func CheckChannelUserName(id int32, userName string) bool
- func GetChannelBySelfID(selfUserId, channelId int32) (chat *mtproto.Chat)
- func GetChannelFullBySelfId(selfUserId int32, channelData *channelLogicData) *mtproto.TLChannelFull
- func GetChannelListBySelfAndIDList(selfUserId int32, idList []int32) (chats []*mtproto.Chat)
- func GetChannelParticipantIdList(channelId int32) []int32
- func MakeChannelParticipant2ByDO(selfId int32, do *dataobject.ChannelParticipantsDO) (participant *mtproto.ChannelParticipant)
- func NewChannelLogicByCreateChannel(creatorId int32, userIds []int32, title, about string) (channelData *channelLogicData)
- func NewChannelLogicById(channelId int32) (channelData *channelLogicData, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckChannelUserName ¶
func GetChannelBySelfID ¶
func GetChannelFullBySelfId ¶
func GetChannelFullBySelfId(selfUserId int32, channelData *channelLogicData) *mtproto.TLChannelFull
func GetChannelListBySelfAndIDList ¶
GetUsersBySelfAndIDList
func MakeChannelParticipant2ByDO ¶
func MakeChannelParticipant2ByDO(selfId int32, do *dataobject.ChannelParticipantsDO) (participant *mtproto.ChannelParticipant)
func NewChannelLogicById ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.