n8n/packages/nodes-base/nodes/Telegram/IEvent.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
242 B
TypeScript
Raw Normal View History

interface EventBody {
photo?: [
{
file_id: string;
},
];
document?: {
file_id: string;
};
video?: {
file_id: string;
};
}
export interface IEvent {
message?: EventBody;
channel_post?: EventBody;
download_link?: string;
}