Occurs whenever a text message or a message with media was edited.
async function editedEventPrint(event: EditedMessageEvent) { const message = event.message as Api.Message; console.log(`Message ${message.id} from channel ${message.chatId!.toString();} was edited at ${message.editDate}`)}// adds an event handler for edited messagesclient.addEventHandler(editedEventPrint, new EditedMessage({}));
Generated using TypeDoc
Occurs whenever a text message or a message with media was edited.