OptionalbusinessConnectionId?: stringOptionaldisableWebPreview?: booleanWhether to disable links preview in this message
OptionalinvertMedia?: booleanWhether to invert media position.
Currently only supported for web previews and makes the client render the preview above the caption and not below.
Optionalmedia?: InputMediaLike | undefinedNew message media
OptionalprogressCallback?: (uploaded: number, total: number) => voidFor media, upload progress callback.
OptionalreplyMarkup?: ReplyMarkup | undefinedFor bots: new reply markup. If omitted, existing markup will be removed.
OptionalscheduleDate?: number | DateTo re-schedule a message: new schedule date. When passing a number, a UNIX time in ms is expected.
OptionalshouldDispatch?: trueWhether to dispatch the edit message event to the client's update handler.
Optionaltext?: InputText | undefinedNew message text
When media is passed, media.caption is used instead
Edit message text, media, reply markup and schedule date.