Difference between revisions of "FBInstant.context.getType"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2018.3<br/> === Description === <br /> The type of the current game context. POST - A facebook post. THREAD - A messenger thread. GROU...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(string), = FBInstant.context.getType()
+
(string) = FBInstant.context.getType()
 
</source>
 
</source>
 
'''Returns''' (string) Type of the current game context.<br/>
 
'''Returns''' (string) Type of the current game context.<br/>

Revision as of 10:19, 23 August 2018

Available since: Gideros 2018.3

Description


The type of the current game context. POST - A facebook post. THREAD - A messenger thread. GROUP - A facebook group. SOLO - Default context, where the player is the only participant.

(string) = FBInstant.context.getType()

Returns (string) Type of the current game context.