Skip to content

Instantly share code, notes, and snippets.

@JRGould JRGould/_buttons.php Secret
Last active Jul 13, 2017

Embed
What would you like to do?
WPFBBotKit Buttons Array
$M->reply_with_buttons( 'Looking for something to read?', array(
array(
'type' => 'postback',
'title' => '👀 Something new.',
'payload' => 'GET_LATEST_POST',
),
array(
'type' => 'postback',
'title' => '👍 Vintage post, B!',
'payload' => 'GET_ARCHIVE_POST',
),
array(
'type' => 'postback',
'title' => '🤓 I\'m all caught up!',
'payload' => 'GET_GIF',
),
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.