import { MediaFileTypes, MediaPassTypes, MediaSendTypes } from '../../types'; import { Thumb } from './Thumb'; export declare class Media { readonly passType: MediaPassTypes; media: string; options: any; readonly useCache: boolean; type: MediaFileTypes | MediaSendTypes; thumb?: Thumb; /** * Creates media content (e.g. photo, video, document) * @param passType Type how you want to pass media file, url or path * @param media Media that you want to send, url or path to a file * @param options Options for MediaGroup * @param useCache Use cache * */ constructor(passType: MediaPassTypes, media: string, options?: any, useCache?: boolean); /** * Set thumb for file * @param thumb Thumb image that you want to set {@link Thumb} * */ setThumb(thumb: Thumb): this; /** * Set caption for media * @param caption Caption you want to set * */ setCaption(caption: string): this; }