Hierarchy

  • default
    • OpenChannelModule

Constructors

Properties

moduleSpecifier
name: "openChannel" = ...

Methods

  • Parameters

    Returns void

    Adds a OpenChannelHandler with a key.

  • Parameters

    • serialized: object

    Returns OpenChannel

    Creates an OpenChannel instance from serialized object. openChannel.serialize() returns the serialized object.

  • Parameters

    • name: string
    • coverUrlOrImageFile: string | FileCompat
    • data: string
    • operatorUserIds: string[]
    • customType: string

    Returns Promise<OpenChannel>

    Creates an OpenChannel with given parameters.

  • Parameters

    • channelUrl: string

    Returns Promise<OpenChannel>

    Gets an OpenChannel with given channel URL.

  • Parameters

    • channelUrl: string

    Returns Promise<OpenChannel>

    Gets an OpenChannel with given channel URL from server.

  • Returns void

    Removes all OpenChannelHandlers.

  • Parameters

    • key: string

    Returns void

    Removes a OpenChannelHandler for a key.