mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00: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;
|
|
}
|