FoxoChat.js Packages
    Preparing search index...

    Class Channel

    API Channel model.

    Hierarchy

    Index

    Constructors

    Properties

    avatar: null | Avatar

    The avatar of the channel.

    banner: null | Avatar

    The banner of the channel.

    client: Client

    The client that instantiated this Model.

    createdAt: Date

    The time when channel created at.

    displayName: string

    The display name of the channel.

    The flags of the channel.

    id: number

    The id of the model.

    lastMessage: null | Message

    The last sent message in channel.

    memberCount: number

    Amount of members in channel.

    members: MemberManager = ...

    A manager of the members of this channel.

    messages: MessageManager = ...

    A manager of the messages sent to this channel.

    name: string

    The name of the channel.

    owner: User

    The owner of the channel.

    The type of the channel.

    Methods