WeChat.CustomService.upload_head_img
You're seeing just the function
upload_head_img
, go back to WeChat.CustomService module for more information.
Link to this function
upload_head_img(client, kf_account, path)
Specs
upload_head_img(WeChat.client(), kf_account(), path :: Path.t()) :: WeChat.response()
设置客服帐号的头像 - 官方文档
头像图片文件必须是jpg格式,推荐使用640*640大小的图片以达到最佳效果。
Link to this function
upload_head_img(client, kf_account, filename, data)
Specs
upload_head_img( WeChat.client(), kf_account(), filename :: String.t(), data :: binary() ) :: WeChat.response()
设置客服帐号的头像(binary) - 官方文档
头像图片文件必须是jpg格式,推荐使用640*640大小的图片以达到最佳效果。