TGConnectFromEnv - Sreyas-Sreelal/tgconnector GitHub Wiki
-
-
Parameters
const variable[]
- environment variable name as string literal
-
Returns
- if successfully connected an integer with tag TGBot representing index of bot instance in plugin memory
- if failed INVALID_BOT_ID
-
Example
new TGBot:bot = TGConnectFromEnv("SAMP_TG_BOT");
-