channel

package
v0.0.0-...-6e21e7b Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckChannelUserName

func CheckChannelUserName(id int32, userName string) bool

func GetChannelBySelfID

func GetChannelBySelfID(selfUserId, channelId int32) (chat *mtproto.Chat)

func GetChannelFullBySelfId

func GetChannelFullBySelfId(selfUserId int32, channelData *channelLogicData) *mtproto.TLChannelFull

func GetChannelListBySelfAndIDList

func GetChannelListBySelfAndIDList(selfUserId int32, idList []int32) (chats []*mtproto.Chat)

GetUsersBySelfAndIDList

func GetChannelParticipantIdList

func GetChannelParticipantIdList(channelId int32) []int32

func MakeChannelParticipant2ByDO

func MakeChannelParticipant2ByDO(selfId int32, do *dataobject.ChannelParticipantsDO) (participant *mtproto.ChannelParticipant)

func NewChannelLogicByCreateChannel

func NewChannelLogicByCreateChannel(creatorId int32, userIds []int32, title, about string) (channelData *channelLogicData)

func NewChannelLogicById

func NewChannelLogicById(channelId int32) (channelData *channelLogicData, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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