fbbotw.post_media_template

fbbotw.post_media_template(fbid, elements, messaging_type=’RESPONSE’, tag=None)[source]

Sends a media template to the specified user

Parameters:
  • fbid (str) – User id to send the media template.
  • elements (list) –
  • messaging_type (str) – Identifies the message type from: RESPONSE, UPDATE AND MESSAGE_TAG (Default: RESPONSE, if MESSAGE_TAG, tag param is required).
  • tag (str) – Tag classifying the message, must be one of the following tags
Returns:

Response object

Facebook docs:

/receipt-template