Enable image downloading in channel_post event on Telegram (#2513)

This commit is contained in:
Ricardo Espinoza
2021-12-03 02:53:20 -05:00
committed by GitHub
parent 95a9019cbe
commit ca761c88c8
2 changed files with 24 additions and 14 deletions

View File

@@ -1,13 +1,17 @@
export interface IEvent {
message?: {
photo?: [
{
file_id: string,
},
],
document?: {
file_id: string;
interface EventBody {
photo?: [
{
file_id: string,
},
];
document?: {
file_id: string;
};
}
export interface IEvent {
message?: EventBody;
channel_post?: EventBody;
download_link?: string;
}