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

Function isMessageNotModifiedError

ai/ai.ts:1141–1142  ·  view source on GitHub ↗
(error: any)

Source from the content-addressed store, hash-verified

1139
1140const isMessageNotModifiedError = (error: any): boolean =>
1141 getEditErrorText(error).includes("MESSAGE_NOT_MODIFIED");
1142
1143const shouldFallbackToReplyOnEditError = (error: any): boolean => {
1144 const text = getEditErrorText(error);
1145 return (

Callers 1

sendOrEditMethod · 0.70

Calls 1

getEditErrorTextFunction · 0.85

Tested by

no test coverage detected