Just in case you haven't checked it out yet, here's the lightweight API mattata uses (also created by myself!) http://luarocks.org/modules/wrxck/telegram-bot-lua
Читать полностью…New feature!
Send /administration to a group you moderate/administrate and you'll notice a new button labelled "Delete commands?". Toggle this on, and any commands will be deleted after a user sends them!
Coming soon...
• The ability to auto-delete invalid commands
• The ability to "mute" users (delete every message they send)
• Auto-removal of spam
Just released telegram-bot-lua with support for the unreleased deleteMessage method!
Читать полностью…I have some extremely big news for developers of Telegram bots, it appears there is a beta endpoint of the Telegram bot API which allows you to delete messages! https://api.telegram.org/beta/botTOKEN/deleteMessage?chat_id=CHAT_ID&message_id=MESSAGE_ID
You guys can expect a big update to the Telegram bot API very soon, let me know if you discover anything else!
Telegram doesn't support the recent Unicode 5.0 update which includes the Scottish flag, so you're gonna have to make do with what the unicode forces you to see :P
Читать полностью…Actually, I won't remove it - but it will prompt you to check out @Rextester_Bot for a better UX before you proceed.
Читать полностью…mattata's now available in German! Set your language using /setlang. More languages will be added soon. If you're interested in translating mattata then please join @mattataDev!
Читать полностью…There are several plugins I haven't really given a mention on this channel, and if I have then I haven't really gone into much depth.
The first one is /import which can be used to import settings from another group. For example, if I made a new group (say it was @OffTopicGeeks) and I didn't want to go through each administration setting, and toggle plugins etc then I could simply import a configuration profile from another group (say, @DevTalk) by using /import @DevTalk.
Using /fileid in reply to a Telegram file (i.e. a photo, sticker, document etc.) will return the file_id of the replied-to file.
/fakeid is a simple command to generate a fake name.
In between doing work for my exam on Tuesday, I'm doing some more language implementation to mattata - I really want to get this feature completed as soon as possible because I've been promising to release multi-language as soon as possible.
Читать полностью…It seems mattata has become too popular, as I'm now getting around 50 - 200 messages per second.
Читать полностью…Now you get to witness this power yourself! New command, /delete - for moderators and administrators of supergroups - delete the replied-to message!
Читать полностью…Here's another fun thing I learned today, http://t.me/mattatabot?game=test - adding ?game=<name> will prompt users to choose a group to play the given game in - that's great for bots which actually have games! (i.e. not mattata!)
Читать полностью…- Fixed that annoying bug where the 2-step /kick and /ban would make mattata leave the chat
Читать полностью…I'm going to be removing /exec from mattata, from now on you'll be instructed on how to use the same functionality on a much more sophisticated bot - namely @Rextester_Bot
Читать полностью…Hello, Join me on PayPal and we’ll get £5 each when you make your first purchase. https://www.paypal.com/uk/invite?token=AtTqbZofDR0
Читать полностью…[v21] The language update
Well, where do I start?
• Added support to most plugins for languages
• Several new plugins, plus improvements to many existing ones
• Fixed a bunch of bugs (and probably gave birth to a ton more too, *sigh*)
• Added two English language files, with all strings for about 90% of the bot (the rest will be added very soon)
• Added a few neat functions into mattata.lua
• Continued making code look pretty and unified
• So many more changes, go and check them out for yourself!
As always more information, regarding updates as and when they occur, can be found on the official mattata Telegram channel (/channel/mattata)
Until the next update, good bye.
There's still a few more plugins to do but I'm going to upload what I've done to GitHub since I'm going to be away a lot this week!
Читать полностью…Also, you can expect a new update very soon, I'm not stopping working on mattata today until I finally finish this multi-language (I'm halfway through the plugins, implementing language functionality into each and every one - stay tuned, this is going to be the biggest update since inline mode, in terms of customisation)
Читать полностью…- /afk will now automatically convert seconds to minutes, hours and days wherever necessary, so rather than saying you have been AFK for, say, 87451 seconds, it would automatically round it to a day and be more user-friendly with the response.
Читать полностью…