Exemple #1
0
        public UserToken GetUserToken(string userId, string name = "", string portraitUri = "")
        {
            var parameter = new Dictionary <string, object> {
                { "userId", userId },
                { "name", name },
                { "portraitUri", portraitUri }
            };

            return(RequestUtility.ExecutePost <UserToken>(RongCloudApi.Api_GetUserToken, parameter));
        }
Exemple #2
0
        public RongCloudBaseResult SendChatRoomMessage(RongCloudMessage message)
        {
            var parameter = BuildChatRoomMessageParameter(message);

            return(RequestUtility.ExecutePost <RongCloudBaseResult>(RongCloudApi.Api_SendChatRoomMessage, parameter));
        }