public function performSpecialConditions(): TelegramMethods
    {
        if (!empty($this->reply_markup)) {
            $this->reply_markup = json_encode($this->formatReplyMarkup($this->reply_markup));
        }

        return $this;
    }
public function performSpecialConditions(): TelegramMethods
    {
        if (!empty($this->reply_markup)) {
            $this->reply_markup = json_encode($this->formatReplyMarkup($this->reply_markup));
        }

        return $this;
    }
public function performSpecialConditions ( ) : TelegramMethods { if ( ! empty ( $ this -> reply_markup ) ) { $ this -> reply_markup = json_encode ( $ this -> formatReplyMarkup ( $ this -> reply_markup ) ) ; } return $ this ; }
Before making the actual request this method will be called

It must be used to json_encode stuff, or do other changes in the internal class representation _before_ sending
it to the Telegram servers

@return TelegramMethods
Before making the actual request this method will be called