Jump to content

Search the Community

Showing results for tags 'bot telegram'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. سيرفر : function read () open = fileOpen("config.txt") reading = fileRead(open,46) fileFlush(open) fileClose(open) return reading end link = {} function readid () opentwo = fileOpen("config.txt") fileSetPos(opentwo,48) readingtow = fileRead(opentwo,11) fileFlush(opentwo) fileClose(opentwo) return readingtow end token = read() chat_id = readid() print(token) print(chat_id) function result(sum) print(sum) end function sendMsg(Text) link[1] = "https://api.telegram.org/bot"..token.."/sendMessage".."?chat_id="..chat_id.."&text="..Text.."" print(link[1]) callRemote (link[1], result,Text) end function sendphoto(photo) link[2] = "https://api.telegram.org/bot"..token.."/sendPhoto".."?chat_id="..chat_id.."&photo="..photo.."" callRemote (link[2],result,photo) end function sendvideo(video) link[3] = "https://api.telegram.org/bot"..token.."/sendVideo".."?chat_id="..chat_id.."&video="..video.."" callRemote (link[3],result,video) end function sendAudio(Audio) link[4] = "https://api.telegram.org/bot"..token.."/sendAudio".."?chat_id="..chat_id.."&audio="..Audio.."" callRemote (link[4],result,Audio) end function sendDocument(Document,Texts) link[5] = "https://api.telegram.org/bot"..token.."/sendDocument".."?chat_id="..chat_id.."&document="..Document.."&caption="..Texts.."" callRemote (link[5],result,Document) end function sendSticker(Sticker) link[6] = "https://api.telegram.org/bot"..token.."/sendSticker".."?chat_id="..chat_id.."&sticker="..Sticker.."" callRemote (link[6],result,Sticker) end function sendChatAction(action) if token and chat_id and action then link[7] = "https://api.telegram.org/bot"..token.."/sendChatAction".."?chat_id="..chat_id.."&action="..action.."" callRemote (link[7],result,action) end end -- sendChatAction("") --sendMsg("hi") --sendChatAction("upload_photo") --sendSticker("https://www.gstatic.com/webp/gallery/1.webp") -- sendDocument("https://www.mathscinotes.com/wp-content/uploads/2016/02/Adler-Mortimer-How-To-Read-A-Book.pdf","this pdf") --sendAudio("https://g.top4top.io/m_488rkvrd2.mp3") -- sendvideo("https://p.top4top.io/m_872tuac51.mp4") -- sendphoto("https://j.top4top.io/i_1eb6c9296e1.png") اهم شي تحط تويكن و id chat وبعدين تقدر تحكم بالبوت خاص بيك و تربطه مع مود خاص بيك و بسهل طريقه ومش معقده وللي حاب يضيف ويكمل باقي فكشنات بيلقي باقي فكشنات هنا https://telegram-bot-sdk.readme.io/reference ملف config.txt put token here put id chat here
×
×
  • Create New...