[Home](./index.md) > [trashposs-js](./trashposs-js.md) > [Channels](./trashposs-js.channels.md) ## Channels type **Signature:** ```typescript export declare type Channels = { main: { params: null; events: { notification: (payload: Notification) => void; mention: (payload: Note) => void; reply: (payload: Note) => void; renote: (payload: Note) => void; follow: (payload: User) => void; followed: (payload: User) => void; unfollow: (payload: User) => void; meUpdated: (payload: MeDetailed) => void; pageEvent: (payload: PageEvent) => void; urlUploadFinished: (payload: { marker: string; file: DriveFile; }) => void; readAllNotifications: () => void; unreadNotification: (payload: Notification) => void; unreadMention: (payload: Note["id"]) => void; readAllUnreadMentions: () => void; unreadSpecifiedNote: (payload: Note["id"]) => void; readAllUnreadSpecifiedNotes: () => void; readAllMessagingMessages: () => void; messagingMessage: (payload: MessagingMessage) => void; unreadMessagingMessage: (payload: MessagingMessage) => void; readAllAntennas: () => void; unreadAntenna: (payload: Antenna) => void; readAllAnnouncements: () => void; readAllChannels: () => void; unreadChannel: (payload: Note["id"]) => void; myTokenRegenerated: () => void; reversiNoInvites: () => void; reversiInvited: (payload: FIXME) => void; signin: (payload: FIXME) => void; registryUpdated: (payload: { scope?: string[]; key: string; value: any | null; }) => void; driveFileCreated: (payload: DriveFile) => void; readAntenna: (payload: Antenna) => void; }; receives: null; }; homeTimeline: { params: null; events: { note: (payload: Note) => void; }; receives: null; }; localTimeline: { params: null; events: { note: (payload: Note) => void; }; receives: null; }; hybridTimeline: { params: null; events: { note: (payload: Note) => void; }; receives: null; }; recommendedTimeline: { params: null; events: { note: (payload: Note) => void; }; receives: null; }; globalTimeline: { params: null; events: { note: (payload: Note) => void; }; receives: null; }; antenna: { params: { antennaId: Antenna["id"]; }; events: { note: (payload: Note) => void; }; receives: null; }; messaging: { params: { otherparty?: User["id"] | null; group?: UserGroup["id"] | null; }; events: { message: (payload: MessagingMessage) => void; deleted: (payload: MessagingMessage["id"]) => void; read: (payload: MessagingMessage["id"][]) => void; typers: (payload: User[]) => void; }; receives: { read: { id: MessagingMessage["id"]; }; }; }; serverStats: { params: null; events: { stats: (payload: FIXME) => void; }; receives: { requestLog: { id: string | number; length: number; }; }; }; queueStats: { params: null; events: { stats: (payload: FIXME) => void; }; receives: { requestLog: { id: string | number; length: number; }; }; }; }; ``` **References:** [Note](./trashposs-js.entities.note.md), [User](./trashposs-js.entities.user.md), [MeDetailed](./trashposs-js.entities.medetailed.md), [PageEvent](./trashposs-js.entities.pageevent.md), [DriveFile](./trashposs-js.entities.drivefile.md), [MessagingMessage](./trashposs-js.entities.messagingmessage.md), [Antenna](./trashposs-js.entities.antenna.md), [UserGroup](./trashposs-js.entities.usergroup.md)