const fetchChannelMessages: (chat: ChatBinding, guard: ScopeGuard) => Tool<{ channelId: string; cursor: string; direction: "forward" | "backward"; limit: number }, { messages: { attachments: { mimeType: string | undefined; name: string | undefined; type: "image" | "file" | "video" | "audio"; url: string | undefined }[]; author: { fullName: string; isBot: boolean | "unknown"; isMe: boolean; userId: string; userName: string }; dateSent: string; edited: boolean; id: string; isMention: boolean | undefined; text: string; threadId: string }[]; nextCursor: string | undefined }>
ai Variables