Overview

Summary

ContactDonateImprint


Appendix E-7: CHANNEL (UI prompt)


ChannelUserAccountModuleDiscord

Properties (9)

PropertyTypeEntityReferenceModule
(1) BitrateLONGChannel
(2) CategorySTRINGChannel
(3) CreatedAtDATEChannel
(4) IsNsfwBOOLChannel
(5) NameSTRINGChannel
(6) PositionLONGChannel
(7) ServerLONGChannelServerUserAccountModule
(8) TypeSTRINGChannel
(9) UserLimitLONGChannel


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /channel/server/{id}findAllChannelOfServer(id)UserAccountModuleGETServer Channel
(2) /channelfindAllChannel()UserAccountModuleGETChannel
(3) /message/channel/{id}findAllMessageOfChannel(id)UserAccountModuleGETChannel Message
(4) /channel/{id}deleteChannelById(id)UserAccountModuleDELETEChannel
(5) /channelinsertChannel(channel)UserAccountModulePOSTChannel
(6) /channel/{id}updateChannelById(channel)UserAccountModulePUTChannel
(7) /channel/{id}findChannelById(id)UserAccountModuleGETChannel
(8) /voicesession/channel/{id}findAllVoiceSessionOfChannel(id)VoiceSessionModuleGETChannel VoiceSession





Example:

final Channel channel = (Channel) invokeModule(USER_ACCOUNT_MODULE + "/channel/" + id, Channel.class);
if (channel != null) {
    final Server server1 = (Server) invokeModule(USER_ACCOUNT_MODULE + "/server/" + channel.getServer().getId(), Server.class);
    if (server1 != null) {
        final UserAccount owneruser2 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + server1.getOwnerUser().getId(), UserAccount.class);
        if (owneruser2 != null) {
        }
    }
}
return channel;


Overview

Summary

ContactDonateImprint