コード例 #1
0
 public void SendMessage(string msg, SendMessageOptions smo)
 {
     //TODO: ADD MESSAGE OPTIONS
     sendChannelMessage(chHandler, msg, onSendChannelMessage);
 }
コード例 #2
0
 public static extern void sendMessageToPeerWithOptions(string msg, string userId, SendMessageOptions options, OnCompletion callback);
コード例 #3
0
        public override void SendChannelMessageWithOptions(IRtmChannel channel, string channelName, string msg, SendMessageOptions smo)
        {
            if (!channels.Contains(channelName))
            {
                Debug.LogError("You need to join the channel before you can send a message to it");
                return;
            }

            channel.SendMessage(msg, smo);
        }
コード例 #4
0
 /**
  * Allows a channel member to send a message to all members in the channel.
  **
  * Note
  * *You can send messages, including peer-to-peer and channel messages, at a maximum speed of 60 queries per second.
  **/
 public abstract void SendChannelMessageWithOptions(IRtmChannel channel, string channelName, string msg, SendMessageOptions smo);
コード例 #5
0
 public void SendMessage(string msg, SendMessageOptions smo)
 {
 }