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

直播

Summary

Types

living_id()

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

直播ID

living_id_list()

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

Functions

cancel(client, agent, living_id)

取消预约直播 - 官方文档

create(client, agent, body)

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

创建预约直播 - 官方文档

delete_replay(client, agent, living_id)

删除直播回放 - 官方文档

get_info(client, agent, living_id)

获取直播详情 - 官方文档

get_living_code(client, agent, living_id, openid)

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

get_living_share_info(client, agent, ww_share_code)

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

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

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

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

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

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

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

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

modify(client, agent, body)

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

修改预约直播 - 官方文档