Wraps up codes for parameters (in operations and events) used internally in Photon Chat. You don't have to use them directly usually.
More...
Wraps up codes for parameters (in operations and events) used internally in Photon Chat. You don't have to use them directly usually.
◆ Broadcast
const byte Photon.Chat.ChatParameterCode.Broadcast = 26 |
|
static |
◆ Channel
const byte Photon.Chat.ChatParameterCode.Channel = 1 |
|
static |
(1) Name of a single chat channel.
◆ Channels
const byte Photon.Chat.ChatParameterCode.Channels = 0 |
|
static |
(0) Array of chat channels.
◆ ChannelSubscribers
const byte Photon.Chat.ChatParameterCode.ChannelSubscribers = 23 |
|
static |
(23) Array of UserIds of users already subscribed to a channel.
Used in Subscribe event when PublishSubscribers is enabled. Does not include local user who just subscribed. Maximum length is (ChatChannel.MaxSubscribers - 1).
◆ ChannelUserCount
const byte Photon.Chat.ChatParameterCode.ChannelUserCount = 6 |
|
static |
◆ DebugData
const byte Photon.Chat.ChatParameterCode.DebugData = 24 |
|
static |
(24) Optional data sent in ErrorInfo event from Chat WebHooks.
◆ DebugMessage
const byte Photon.Chat.ChatParameterCode.DebugMessage = 17 |
|
static |
◆ ExpectedValues
const byte Photon.Chat.ChatParameterCode.ExpectedValues = 25 |
|
static |
(25) Code for values to be used for "Check And Swap" (CAS) when changing properties.
◆ Friends
const byte Photon.Chat.ChatParameterCode.Friends = 11 |
|
static |
◆ HistoryLength
const byte Photon.Chat.ChatParameterCode.HistoryLength = 14 |
|
static |
(14) Number of message to fetch from history. 0: no history. 1 and higher: number of messages in history. -1: all history.
◆ Message
const byte Photon.Chat.ChatParameterCode.Message = 3 |
|
static |
(3) A single chat message.
◆ Messages
const byte Photon.Chat.ChatParameterCode.Messages = 2 |
|
static |
(2) Array of chat messages.
◆ MsgId
const byte Photon.Chat.ChatParameterCode.MsgId = 8 |
|
static |
◆ MsgIds
const byte Photon.Chat.ChatParameterCode.MsgIds = 9 |
|
static |
◆ Properties
const byte Photon.Chat.ChatParameterCode.Properties = 22 |
|
static |
◆ Secret
const byte Photon.Chat.ChatParameterCode.Secret = 221 |
|
static |
(221) Secret token to identify an authorized user.
The code is used in LoadBalancing and copied over here.
◆ Sender
const byte Photon.Chat.ChatParameterCode.Sender = 5 |
|
static |
(5) Name of a the user who sent a chat message.
◆ Senders
const byte Photon.Chat.ChatParameterCode.Senders = 4 |
|
static |
(4) Array of names of the users who sent the array of chat messages.
◆ SkipMessage
const byte Photon.Chat.ChatParameterCode.SkipMessage = 12 |
|
static |
(12) SkipMessage is used in SetOnlineStatus and if true, the message is not being broadcast.
◆ Status
const byte Photon.Chat.ChatParameterCode.Status = 10 |
|
static |
◆ SubscribeResults
const byte Photon.Chat.ChatParameterCode.SubscribeResults = 15 |
|
static |
(15) Subscribe operation result parameter. A bool[] with result per channel.
◆ UniqueRoomId
const byte Photon.Chat.ChatParameterCode.UniqueRoomId = 29 |
|
static |
Generated unique reusable room id
◆ UserId
const byte Photon.Chat.ChatParameterCode.UserId = 225 |
|
static |
(225) Name of user to send a (private) message to.
The code is used in LoadBalancing and copied over here.
◆ UserProperties
const byte Photon.Chat.ChatParameterCode.UserProperties = 28 |
|
static |
◆ WebFlags
const byte Photon.Chat.ChatParameterCode.WebFlags = 21 |
|
static |
(21) WebFlags object for changing behaviour of webhooks from client.
The documentation for this class was generated from the following file: