View Source WeChat.Work.Living (wechat v0.16.0)

直播

Summary

Types

@type living_id() :: String.t()

直播ID

@type living_id_list() :: [living_id()]

Functions

Link to this function

cancel(client, agent, living_id)

View Source

取消预约直播 - 官方文档

Link to this function

create(client, agent, body)

View Source
@spec create(WeChat.Work.client(), WeChat.Work.agent(), body :: map()) ::
  WeChat.response()

创建预约直播 - 官方文档

Link to this function

delete_replay(client, agent, living_id)

View Source

删除直播回放 - 官方文档

Link to this function

get_info(client, agent, living_id)

View Source

获取直播详情 - 官方文档

Link to this function

get_living_code(client, agent, living_id, openid)

View Source

在微信中观看直播或直播回放-获取微信观看直播凭证 - 官方文档

Link to this function

get_living_share_info(client, agent, ww_share_code)

View Source
@spec get_living_share_info(
  WeChat.Work.client(),
  WeChat.Work.agent(),
  ww_share_code :: String.t()
) ::
  WeChat.response()

获取跳转小程序商城的直播观众信息 - 官方文档

Link to this function

get_watch_stat(client, agent, living_id, next_key \\ "0")

View Source
@spec get_watch_stat(
  WeChat.Work.client(),
  WeChat.Work.agent(),
  living_id(),
  next_key :: String.t()
) ::
  WeChat.response()

获取直播观看明细 - 官方文档

Link to this function

list_user_living_ids(client, agent, userid, cursor \\ 0, limit \\ 100)

View Source
@spec list_user_living_ids(
  WeChat.Work.client(),
  WeChat.Work.agent(),
  WeChat.Work.Contacts.User.userid(),
  cursor :: integer(),
  limit :: 1..100
) :: WeChat.response()

获取成员直播ID列表 - 官方文档

Link to this function

modify(client, agent, body)

View Source
@spec modify(WeChat.Work.client(), WeChat.Work.agent(), body :: map()) ::
  WeChat.response()

修改预约直播 - 官方文档