Overview

Summary

ContactDonateImprint


Appendix E-19: VOICE PARTICIPANT (UI prompt)


VoiceParticipantVoiceSessionModuleDiscord

Properties (6)

PropertyTypeEntityReferenceModule
(1) IsDeafenedBOOLVoiceParticipant
(2) IsMutedBOOLVoiceParticipant
(3) JoinedAtDATEVoiceParticipant
(4) LeftAtDATEVoiceParticipant
(5) UserLONGVoiceParticipantUserAccountUserAccountModule
(6) VoiceSessionLONGVoiceParticipantVoiceSessionVoiceSessionModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /voiceparticipantfindAllVoiceParticipant()VoiceSessionModuleGETVoiceParticipant
(2) /voiceparticipantinsertVoiceParticipant(voiceparticipant)VoiceSessionModulePOSTVoiceParticipant
(3) /voiceparticipant/voicesession/{id}findAllVoiceParticipantOfVoiceSession(id)VoiceSessionModuleGETVoiceSession VoiceParticipant
(4) /voiceparticipant/user/{id}findAllVoiceParticipantOfUser(id)VoiceSessionModuleGETUserAccount VoiceParticipant
(5) /voiceparticipant/{id}deleteVoiceParticipantById(id)VoiceSessionModuleDELETEVoiceParticipant
(6) /voiceparticipant/{id}updateVoiceParticipantById(voiceparticipant)VoiceSessionModulePUTVoiceParticipant
(7) /voiceparticipant/{id}findVoiceParticipantById(id)VoiceSessionModuleGETVoiceParticipant





Example:

final VoiceParticipant voiceparticipant = (VoiceParticipant) invokeModule(VOICE_SESSION_MODULE + "/voiceparticipant/" + id, VoiceParticipant.class);
if (voiceparticipant != null) {
    final UserAccount user1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + voiceparticipant.getUser().getId(), UserAccount.class);
    if (user1 != null) {
    }
    final VoiceSession voicesession2 = (VoiceSession) invokeModule(VOICE_SESSION_MODULE + "/voicesession/" + voiceparticipant.getVoiceSession().getId(), VoiceSession.class);
    if (voicesession2 != null) {
        final Channel channel3 = (Channel) invokeModule(USER_ACCOUNT_MODULE + "/channel/" + voicesession2.getChannel().getId(), Channel.class);
        if (channel3 != null) {
            final Server server4 = (Server) invokeModule(USER_ACCOUNT_MODULE + "/server/" + channel3.getServer().getId(), Server.class);
            if (server4 != null) {
                final UserAccount owneruser5 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + server4.getOwnerUser().getId(), UserAccount.class);
                if (owneruser5 != null) {
                }
            }
        }
    }
}
return voiceparticipant;


Overview

Summary

ContactDonateImprint