예제 #1
0
        public static void CreateDM(CreateDM createDM)
        {
            IUserService userservice = AuthenticatedRestFactory.GetUserService();

            userservice.CreateDirectMessageChannelForCurrentUser(createDM).Wait();
        }
예제 #2
0
        /// <inheritdoc />
        public virtual Task <DirectMessageChannel> CreateDirectMessageChannelForCurrentUser(CreateDM createDM)
        {
            var arguments = new object[] { createDM };

            return((Task <DirectMessageChannel>)methodImpls["CreateDirectMessageChannelForCurrentUser"](Client, arguments));
        }