예제 #1
0
        public static string DiscordIDToJsonString(ulong discordID)
        {
            var val  = new TS3Json <TS3ClientJson>(new TS3ClientJson(discordID));
            var json = JsonConvert.SerializeObject(val);

            return(json);
        }
예제 #2
0
        public static string ChannelIDToJsonString(ulong channelID)
        {
            var val  = new TS3Json <TS3ChannelJson>(new TS3ChannelJson(channelID));
            var json = JsonConvert.SerializeObject(val);

            return(json);
        }