Page 1 of 1

[Telegram] Core

Posted: Sun Jan 26, 2020 3:59 pm
by Andreeas
Description:
Simpliest library for sending message on Telegram

Inside telegram.inc:

Code: Select all

#if defined _telegram_included
 #endinput
#endif
#define _telegram_included

#if !defined REQUIRE_PLUGIN
public __pl_telegram_SetNTVOptional()
{
	MarkNativeAsOptional("TelegramMsg");
	MarkNativeAsOptional("TelegramSend");
}
#endif

/**
 * Setup a message text.
 *
 * @param   szMessage      Text
 *
 * @return  void
 */
native void TelegramMsg(const char[] szMessage);

/**
 * Ends a message, sending into Telegram.
 *
 * @return  void
 */
native void TelegramSend();


Download
Source
SMX File