ExMicrosoftBot.Client.Attachments (ex_microsoftbot v3.0.0)

This module provides the functions to get information related to attachments.

Link to this section Summary

Functions

Get AttachmentInfo structure describing the attachment views. @see API Reference

Get the named view as binary content. @see API Reference

Link to this section Functions

Link to this function

get_attachment(service_url, attachment_id)

Specs

get_attachment(service_url :: String.t(), attachment_id :: String.t()) ::
  {:ok, ExMicrosoftBot.Models.AttachmentInfo.t()}
  | ExMicrosoftBot.Client.error_type()

Get AttachmentInfo structure describing the attachment views. @see API Reference

Link to this function

get_attachment_view(service_url, attachment_id, view_id)

Specs

get_attachment_view(
  service_url :: String.t(),
  attachment_id :: String.t(),
  view_id :: String.t()
) :: {:ok, binary()} | ExMicrosoftBot.Client.error_type()

Get the named view as binary content. @see API Reference