UNPKG

@hank.chat/types

Version:
11 lines (10 loc) 388 B
/** Each kind of chat channel */ export declare enum ChannelKind { /** CHAT_ROOM - A chat root, i.e. a regular public channel */ CHAT_ROOM = 0, /** DIRECT_MESSAGE - A direct message */ DIRECT_MESSAGE = 1, UNRECOGNIZED = -1 } export declare function channelKindFromJSON(object: any): ChannelKind; export declare function channelKindToJSON(object: ChannelKind): string;