Пример #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)));
 }