MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / isMessageNotModified

Function isMessageNotModified

tmp_admin/tmp_admin.ts:116–118  ·  view source on GitHub ↗
(error: any)

Source from the content-addressed store, hash-verified

114 msg: Api.Message,
115 options: Parameters<Api.Message["edit"]>[0]
116): Promise<void> {
117 try {
118 await msg.edit(options);
119 } catch (error) {
120 if (!isMessageNotModified(error)) throw error;
121 }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected