ID of the chat, its username, phone or "me" or "self"
Rich message contents and additional sending parameters
OptionalprogressCallback?: (id: string, uploaded: number, total: number) => voidFunction that will be called after some part has been uploaded.
OptionalrandomId?: LongOverride the default random ID, for streaming drafts
OptionalreplyMarkup?: ReplyMarkupFor bots: inline or reply markup or an instruction to hide a reply keyboard or to force a reply.
OptionaluploadCache?: RichMediaUploadCacheCache for uploaded media, used to avoid re-uploading the same media multiple times.
Pass a (potentially shared) RichMediaUploadCache to reuse media uploaded by an earlier call (e.g. a streaming draft) instead of uploading it again.
Send a rich message