コード例 #1
0
        public Task SendGuildInviteRequestAsync(GuildMemberInviteRequestModel model)
        {
            if (CheckConnectionInitialized())
            {
                return(Connection.SendAsync(nameof(SendGuildInviteRequestAsync), model));
            }

            return(Task.CompletedTask);
        }
コード例 #2
0
 public Task SendGuildInviteRequestAsync(GuildMemberInviteRequestModel invitationRequest)
 {
     return(Connection.SendAsync(nameof(SendGuildInviteRequestAsync), invitationRequest));
 }
コード例 #3
0
 public Task SendGuildInviteRequestAsync(GuildMemberInviteRequestModel invitationRequest)
 {
     return(MessageRouter.TryHandleMessage(CreateHubContext(), BuildIncomingMessage(invitationRequest)));
 }