AddChat
This compatibility method behaves like AddGlobalChat. Adds a remote global-chat panel with rules, cooldowns, reporting, and conversation persistence. It is kept so scripts written with the older AddChat name continue to work.
AddChat
Compatibility alias
AddChat is an alternate name for AddGlobalChat. New code can use AddGlobalChat.
What it does
This compatibility method behaves like AddGlobalChat. Adds a remote global-chat panel with rules, cooldowns, reporting, and conversation persistence. It is kept so scripts written with the older AddChat name continue to work.
When to use it
Use it when maintaining a script that uses this older method name. The service endpoint is built into XLQP, so no authentication URL option is required. Prefer AddGlobalChat in new code so the method name matches the current API.
ElementFunction:AddChat(ChatConfig)
local Result = Section:AddChat({
Name = "Example",
})Behavior and return value
This alias forwards to AddGlobalChat, so its options, callbacks, and returned value follow the canonical method.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.
Related reference
AddChart
This compatibility method behaves like CreateChart. Creates a configurable line or filled chart with a bounded point history. It is kept so scripts written with the older AddChart name continue to work.
AddCheckbox
This compatibility method behaves like CreateCheckbox. Creates a checkbox control with an optional saved flag. It is kept so scripts written with the older AddCheckbox name continue to work.