Exemplo n.º 1
0
        /// <summary>取得大量使用者檔案</summary>
        /// <param name="userids"></param>
        /// <returns></returns>
        public async Task <List <UserProfile> > Get_User_datasAsync(List <string> userids)
        {
            List <UserProfile> oModel = new List <UserProfile>();

            foreach (var userid in userids)
            {
                oModel.Add(await MessageApi.GetUserProfileAsync(this.channelAccessToken, userid));
            }
            return(oModel);
        }
Exemplo n.º 2
0
 /// <summary>取得使用者檔案</summary>
 /// <param name="userid"></param>
 /// <returns></returns>
 public Task <UserProfile> Get_User_DataAsync(string userid)
 {
     return(MessageApi.GetUserProfileAsync(this.channelAccessToken, userid));
 }