WeChat.Material.batch_get_material

You're seeing just the function batch_get_material, go back to WeChat.Material module for more information.
Link to this function

batch_get_material(client, type, count \\ 10, offset \\ 0)

Specs

batch_get_material(
  WeChat.client(),
  material_type(),
  material_count(),
  offset :: integer()
) :: WeChat.response()

获取素材列表 - 官方文档

在新增了永久素材后,开发者可以分类型获取永久素材的列表。

请注意:

  • 获取永久素材的列表,也包含公众号在公众平台官网素材管理模块中新建的图文消息、语音、视频等素材
  • 临时素材无法通过本接口获取
  • 调用该接口需https协议

参数说明

  • type: 素材的类型,图片(image)、视频(video)、语音 (voice)、图文(news)
  • offset: 从全部素材的该偏移位置开始返回,0表示从第一个素材 返回
  • count: 返回素材的数量,取值在1到20之间