Пример #1
0
        /// <summary>
        /// Invite a user to the room by their object.
        /// </summary>
        /// <param name="user">User.</param>
        public void InviteToRoom(MatrixUser user)
        {
            if (user == null)
            {
                throw new ArgumentNullException(nameof(user));
            }

            InviteToRoom(user.UserId);
        }
Пример #2
0
 /// <summary>
 /// Invite a user to the room by their object.
 /// </summary>
 /// <param name="user">User.</param>
 public void InviteToRoom(MatrixUser user)
 {
     InviteToRoom(user.UserID);
 }