mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-02 09:47:00 +02:00
26 lines
298 B
TypeScript
26 lines
298 B
TypeScript
interface EventBody {
|
|
photo?: [
|
|
{
|
|
file_id: string;
|
|
},
|
|
];
|
|
document?: {
|
|
file_id: string;
|
|
};
|
|
video?: {
|
|
file_id: string;
|
|
};
|
|
chat?: {
|
|
id: number;
|
|
};
|
|
from?: {
|
|
id: number;
|
|
};
|
|
}
|
|
|
|
export interface IEvent {
|
|
message?: EventBody;
|
|
channel_post?: EventBody;
|
|
download_link?: string;
|
|
}
|