Options
All
  • Public
  • Public/Protected
  • All
Menu

TalkChannel interface includes managed methods and other methods that make it easier to use

Hierarchy

  • Channel
  • ChannelDataStore<ChannelInfo, ChannelUserInfo>
  • ChannelSession
  • TypedEmitter<TalkChannelEvents>
    • TalkChannel

Index

Properties

Readonly chatListStore

chatListStore: UpdatableChatListStore

Readonly clientUser

clientUser: Readonly<ChannelUser>

Get client user

Readonly store

store: UpdatableChannelDataStore<ChannelInfo, ChannelUserInfo>

Readonly userCount

userCount: number

Get total user count

Methods

getAllUserInfo

  • getAllUserInfo(): IterableIterator<ChannelUserInfo>
  • Get user info iterator

    Returns IterableIterator<ChannelUserInfo>

getDisplayName

  • getDisplayName(): string

getName

  • getName(): string

getReadCount

  • getReadCount(chat: ChatLogged): number
  • Get read count of the chat. This may not work correctly on channel with many users. (99+)

    Parameters

    • chat: ChatLogged

    Returns number

getReaders

  • getReaders(chat: ChatLogged): Readonly<ChannelUserInfo>[]
  • Get readers in this channel. This may not work correctly on channel with many users. (99+)

    Parameters

    • chat: ChatLogged

    Returns Readonly<ChannelUserInfo>[]

getUserInfo

  • getUserInfo(user: ChannelUser): undefined | Readonly<ChannelUserInfo>
  • Get channel user info

    Parameters

    • user: ChannelUser

      User to find

    Returns undefined | Readonly<ChannelUserInfo>

sendMedia

sendMultiMedia

  • sendMultiMedia(type: number, templates: MediaUploadTemplate[]): AsyncCommandResult<Chatlog>

setGroupMeta

setLiveTalkCountMeta

setLiveTalkInfoMeta

setNoticeMeta

setProfileMeta

setTitleMeta

setTvLiveMeta

setTvMeta

updateAll

Generated using TypeDoc