$M = $bot->sendMessage($chat_id, $message = 'Message, "HTML", true, $message_id, $button)->result->message_id; $bot->editMessage($chat_id,

$message_id = $m, $text = "edit");
Hey can someone explain what's mean $m?
And how long can I use the message $m?

15 ответов

4 просмотра

BTW how can i save $message->from->id; Iike this? So the bot only reply to who send the command

- $m is the sent message ID result -> message_id - deleteMessage = 48-24 HOUR - editMessage = unlimited

use database

Mahyar
use database

My bot not for me My friend 0 in programming I'm the best one They don't know how to use SQL or database and I don't want to use them

s0m31 🇷🇺
then use file system

No thank you I will change the code BTW what's the different between functions and libraries?

why won't you just google your question? Library is a set of classes (subprogramms) which has their own methods (aka functions) you can use in your project By the way, your question is even offtopic, as this group is not teaching you how to code but how to make bots

s0m31 🇷🇺
why won't you just google your question? Library i...

This framework vs libraries Not libraries vs functions The reason I'm here is because I lost the files I created last year and rewritten them again Be a little nice

using mongodb, requires zero sql knowledge

Kr🇫🇷🦜 zwan
using mongodb, requires zero sql knowledge

dont rush that quick! Maybe he was thinking about accessing db from client side. Using any of those without backend will be bad idea

Guys $m here When the command is sent again will the variable take the new identifier or will there be an error here?

Thanks look How to make if $data null alert will show? https://t.me/BotTalk/636271

Похожие вопросы

Обсуждают сегодня

есть спецы по гитлабу? нужно решить проблему того, что гитлаб не показывает файлы с расширением txt в артефактах и предлагает их скачать и смотреть локально. а это неудобно. в...
Aleksandr Druzhinin
1
Эх кто-то пришел и весь праздник испортил :( You need complex FBX scene importing setup to change things on import? good luck with that. You need navigation and pathfinding? g...
Serg Gini
5
Здравствуйте. Есть спецы на языке D ? Есть проект (торговый бот) нужна долгосрочная поддержка на материальной основе) (достойная оплата) Подробности в лс.
6h123 6h123
1
как работают все эти прокси онлайн, где ты можешь ввести сайт и он зайдет на сайт от своего имени?
Aleksandr Druzhinin
1
День добрый. Стандартная библиотека phobos (std.array) ссылается на внешнюю фунцию _d_newarrayUTrace и при сборке с ключом profile-gc эта ссылка остаётся неопределённой. Никак...
slacker linuxoid
5
на D можно построить абсолютно разный архитект, как объектный, так и нет, оч широкий простор для принятия решений. Однако проблема в том, что большинство книг об айтишной архи...
Constantin_FV
1
Доброго времени суток. Сейчас я работаю над своей архитектурой Component / Systems. Если просто, это то что использовали до дробления на ECS. Потому что ECS это все таки нишев...
Vi
26
Для меня наследование это просто удобство ради удобства. Без множественного наследования, это бесполезная вещь, но удобная. С множественным наследованием, это опасная, но мощн...
Vi
1
а у нас кто-нибудь разбирается в матлаб? Накопал статью по замощению Фодерберга, о нём вообще мало инфы в сети. Но там матлабовский код, который нужно через песочницу по сути ...
Constantin_FV
1
string xczhojoxueaflfhhygcc ="xczhojoxueaflfhhygcc"; long xczhojoxueaflfhhygcc_2 =1368962155; import std.conv: text; writeln(text(xczhojoxueaflfhhygcc, " ", xczhojoxueaflfhhyg...
Constantin_FV
6
Карта сайта