~/forever/addon-api/function/C_Commentator.SendAddonMessage
C_Commentator.SendAddonMessage
documented function · CommentatorFrame
C_Commentator.SendAddonMessage(prefix, message, chatType?, target?) : resultWorks the same as C_ChatInfo.SendAddonMessage but accepts secrets and is only allowed when outgoing addon comms are allowed (i.e. on tournament realms)
──ARGUMENTS
- prefix
- cstring
- message
- cstring
- chatType
- cstring, optional (ChatType, defaults to SLASH_CMD_PARTY.)
- target
- cstring, optional (Only applies for targeted channels)
──RETURNS
- result
- SendAddonMessageResult
──DETAILS
- Secret Arguments
- AllowedWhenUntainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.