Phaser API Documentation

  Version: 
subscribeBot()

Description:

Subscribes the current player to the game bot.

It makes an async call to the API, so the result isn't available immediately.

If they are successfully subscribed this plugin will emit the subscribebot event.

If they cannot, i.e. it's not in the list of supported APIs, or the request was rejected, it will emit a subscribebotfail event instead.

Returns:
Description:

This Facebook Instant Games Plugin instance.

Examples:
Since: 3.13.0