tweb/src/lib/appManagers/utils/docs/getDocumentInput.ts
Eduard Kuzmenko d51d50e5c9 Favorite stickers
Stickers context menu
2022-08-18 13:21:19 +02:00

12 lines
310 B
TypeScript

import {InputDocument} from '../../../../layer';
import type {MyDocument} from '../../appDocsManager';
export default function getDocumentInput(doc: MyDocument): InputDocument {
return {
_: 'inputDocument',
id: doc.id,
access_hash: doc.access_hash,
file_reference: doc.file_reference
};
}