Exemplo n.º 1
0
 /// <summary>
 /// </summary>
 /// <param name="type">表情类别,face:普通表情、ani:魔法表情、cartoon:动漫表情,默认为face。 </param>
 /// <param name="language">语言类别,cnname:简体、twname:繁体,默认为cnname。 </param>
 /// <returns></returns>
 public dynamic Emotions(EmotionType type, LanguageType language)
 {
     return(DynamicJson.Parse(api.Emotions(type, language)));
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="type">表情类别,face:普通表情、ani:魔法表情、cartoon:动漫表情,默认为face。 </param>
 /// <param name="language">语言类别,cnname:简体、twname:繁体,默认为cnname。 </param>
 /// <returns></returns>
 public IEnumerable <Entities.status.Emotion> Emotions(EmotionType type = EmotionType.face, LanguageType language = LanguageType.cnname)
 {
     return(JsonConvert.DeserializeObject <IEnumerable <Entities.status.Emotion> >(api.Emotions(type, language)));
 }