fbbotw.post_settings¶
-
fbbotw.
post_settings
(greeting_text)[source]¶ Sets the Get Started Button and the Greeting Text at once. The payload for the Get Started Button will be USER_START.
Usage: >>> # Create a default greeting text (160 chars limit) >>> greeting_text = "Hello! I'm your bot!" >>> responses = fbbotw.post_settings( greeting_text=greeting_text )
Parameters: greeting_text (str) – Desired Greeting Text (160 chars).
Returns: tuple with two Response object for the greeting text and start button.