Skip to content

API Reference / detectProxyInMessage

Function: detectProxyInMessage()

detectProxyInMessage(system, body): { member: Member; cleanBody: string; } | undefined

Defined in: service.ts:80

Identifies if a configured proxy prefix was used for this message. You generally shouldn't need to call this directly, and should use getProxiedMessage instead since it takes autoproxies into consideration.

Parameters

system

System

body

string

Returns

{ member: Member; cleanBody: string; } | undefined