更新SendBird用户个人资料

时间:2018-09-17 05:49:24

标签: xamarin xamarin.android sendbird

我要为此更新SendBird的用户个人资料

输入 https://{region_identifier}.sendbird.com/v3/users/{user_id}网址

并将请求正文传递为

{
  "nickname": "Johnster",
  "profile_url":"https://sendbird.com/main/img/profiles/profile_02_512px.png",
  "issue_access_token": true             
}

这里 profile_url 是字符串类型,但是如果有人从图库中选择图像或用相机捕获,在这种情况下,我们会得到 bitmap 数据,我正在将位图转换为{{ 1}},但api不接受。

  

我如何将相机或画廊拍摄的图像作为字符串类型传递?

0 个答案:

没有答案