Home - HiznyakNikita/facebook-messenger-net-lib GitHub Wiki

facebook-messenger-net-lib

Official API docs

Example of usage

API methods Description

Messages methods

Settings methods

Types description

General types

  • Message - represent a message which sends to user
  • Recipient - represents recipient of message
  • UserProfile - represents user profile data which returned by MessengerAPI
  • WelcomeMessage - represents welcome message which can be set to bot page
  • ApiError - represents error which can be returned from MessengerAPI

Attachment types

  • Attachment - represent a Image or Template attachment to message which sends to user
  • TemplatePayload - represent a template type payload of attachment
  • ImagePayload - represent a image type payload of attachment
  • ButtonTemplate - represent a button template type payload of attachment
  • GenericTemplate - represent a generic template type payload of attachment
  • ReceiptTemplate - represent a receipt template type payload of attachment

Parts of attachment types

  • MessageButton - represent a button which will be send to user in button template attachment of message
  • GenericTemplateElement - represent a element which will be send to user in generic template attachment of message
  • ReceiptTemplateElement - represent a element which will be send to user in receipt template attachment of message