- editMessage(client, params): Promise<Message>
Parameters
- client: ITelegramClient
- params: InputMessageId & {
businessConnectionId?: string;
disableWebPreview?: boolean;
invertMedia?: boolean;
media?: InputMediaLike | undefined;
progressCallback?: ((uploaded: number, total: number) => void);
replyMarkup?: ReplyMarkup | undefined;
scheduleDate?: number | Date;
shouldDispatch?: true;
text?: InputText | undefined;
}
Returns Promise<Message>
Edit message text, media, reply markup and schedule date.