NovaGram

An Object-Oriented PHP library for Telegram Bots

View the Project on GitHub skrtdev/NovaGram

Message

This object represents a message.

Properties

Methods

forward()

Alias of forwardMessage A description of the method

$message->forward($chat_id);

reply()

Alias of sendMessage A description of the method

$message->reply($text);

delete()

Alias of deleteMessage A description of the method

$message->delete(...$args);

editText()

Alias of editMessageText A description of the method

$message->editText($text);

editLiveLocation()

Alias of editMessageLiveLocation A description of the method

$message->editLiveLocation(...$args);

stopLiveLocation()

Alias of stopMessageLiveLocation A description of the method

$message->stopLiveLocation($reply_markup);

pin()

Alias of pinChatMessage A description of the method

$message->pin($disable_notification);

editCaption()

Alias of editMessageCaption A description of the method

$message->editCaption($caption);

editMedia()

Alias of editMessageMedia A description of the method

$message->editMedia($media);

editReplyMarkup()

Alias of editMessageReplyMarkup A description of the method

$message->editReplyMarkup($reply_markup);

stopPoll()

Alias of stopPoll A description of the method

$message->stopPoll($reply_markup);

setGameScore()

Alias of setGameScore A description of the method

$message->setGameScore($inline_message_id);

copy()

Alias of copyMessage A description of the method

$message->copy($chat_id);