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