fbbotw.post_sender_action

fbbotw.post_sender_action(fbid, sender_action)[source]

Displays/Hides the typing gif or shows mark seen on facebook chat with user.

Usage:
>>> # Set the user you want to show action
>>> fbid = "<user page scoped id>"
>>> # To show the typing animation
>>> fbbotw.post_sender_action(
        fbid=fbid, sender_action="typing_on"
    )
>>> # To stop typing (Stops automatically after 20s)
>>> fbbotw.post_sender_action(
        fbid=fbid, sender_action="typing_off"
    )
>>> # To mark as seen
>>> fbbotw.post_sender_action(
        fbid=fbid, sender_action="mark_seen"
    )
Parameters:
  • fbid (str) – User id to display action.
  • sender_action (str) – typing_off/typing_on/mark_seen.
Returns:

Response object

Facebook docs:

/sender-actions