Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lua
 
 
 
 
 
 
 
 

ggram Telegram Bot Framework

NEED TRANSLATORS. Please, make pull requests if you wanna help. Temporarily I recommend deepl to translate this page

苤郋郱迡訄赲訄邿迮 Telegram 訇郋郋赲 郅訇郋邿 郅郋迠郇郋邽 邽 郱訄郈郕訄邿迮 邽 郇訄 Garry's Mod 迮赲迮迮

local bot = ggram("token")

bot.enable_polling() -- enables getUpdates loop

bot.command("start", function(ctx)
	ctx.reply.text("Hello @" .. ctx.from.username)
end)

郋郈郋郅郇邽迮郅郇迮 郈邽邾迮 邾郋迠郇郋 郇訄邿邽 赲 郈訄郈郕迮 /bots

訄訄郅郋 邽郈郋郅郱郋赲訄郇邽

  1. 苺 赲訄 迠迮 迡郋郅迠迮郇 訇 郋郱迡訄郇 訇郋 迮迮郱 @BotFather
  2. 苤郕訄訄邿迮 ggram 郋迣郋 迮郈郋郱邽郋邽 邽 訄郇郋赲邽迮 赲 /addons/ggram
  3. 苤郋郱迡訄邿迮 訄邿郅 /addons/ggram_bots/lua/ggram/bots/anyname/_init.lua
  4. 訄郈郋郅郇邽迮 迮迣郋 郋迡迮迠邽邾邾 迡迮邾郋郇訄邽赲郇郋迣郋 訇郋訄 邽郱 郈訄郈郕邽 /bots/example, 郱訄邾迮郇邽赲 郋郕迮郇

苤迡迮郅訄郇郋 郇訄 GGRAM + 郕邽郇郋

迡迮 (郕郅邽郕) 郋郈訇郅邽郕郋赲訄郇 郅郕邽 郇訄 訄訇郋訄邽迮 訇郋, 訄 訄郕迠迮 邾郇郋迠迮赲郋 邽迡迮邿, 郕郋郋迮 邾郋迠郇郋 迮訄郅邽郱郋赲訄 郈邽 郈郋邾郋邽 郋迣郋 迮邿邾赲郋郕訄 迡郅 赲郋迮迣郋 Garry's Mod 迮赲迮訄 邽 郇迮 郋郅郕郋. 郋郱邾郋迠郇郋邽 郈訄郕邽迮郕邽 訇迮郱迣訄郇邽郇.

郋訇迮郇郇郋邽

  • 訄訇郋訄迮 郈邾郋 Garry's Mod 迮赲迮訄
  • 迮訇迮 郇邽郕訄郕邽 郋郋郇郇邽 .dll 邽郅邽 WEB 郈郋郅郋迮郕
  • 迮郇 邾邽郇邽邾訄郅邽邽郇邿 邽 郅迮迣郕郋 訄邽迮邾邿
  • 郋郱邾郋迠郇郋 郋郈訄赲郕邽 訄郇邽邾訄邽邿, 迡郋郕邾迮郇郋赲, 邽郱郋訇訄迠迮郇邽邿
  • 苤郋郱迡訄郇 迮郋邾 邾郇郋迣郋郅迮郇郋迣郋 郋郈訄 郋郱迡訄郇邽 訇郋郋赲
  • 迠邽 郈訄訄迡邽迣邾郋邿 郇郕邽郋郇訄郅郇郋迣郋 郈郋迣訄邾邾邽郋赲訄郇邽

郋郕邾迮郇訄邽


郅邽 郋訄郅邽 赲郋郈郋, 赲 邾郋迠迮迮 郱訄迡訄 邽 赲 Telegram @amd_nick 邽郅邽 郋郱迡訄 Issue