@@ -232,7 +232,6 @@ |
||
| 232 | 232 | * \brief Called every time a post get edited in the channel where the bot is in. |
| 233 | 233 | * \details Override it to script the bot answer for each post edited in a channel. |
| 234 | 234 | * <code>$chat_id</code> set inside of this function. |
| 235 | - * @param Message $post The message edited in the channel. |
|
| 236 | 235 | */ |
| 237 | 236 | protected function processEditedChannelPost(Message $edited_post) |
| 238 | 237 | { |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | * @param $reply_markup Inline keyboard object (Not JSON serialized, use getArray from InlineKeyboard class). |
| 63 | 63 | * @param $parse_mode <i>Optional</i>. Formattation of the message. |
| 64 | 64 | * @param $disable_web_preview <i>Optional</i>. Disables link previews for links in the sent message |
| 65 | - * @return Id the the article added |
|
| 65 | + * @return integer the the article added |
|
| 66 | 66 | */ |
| 67 | 67 | public function newArticle($title, $message_text, $description = '', array $reply_markup = null, $parse_mode = 'HTML', $disable_web_preview = false) |
| 68 | 68 | { |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | * @param $default_language <i>Optional</i>. Default language to return in case of errors. |
| 85 | 85 | * @param $expiring_time <i>Optional</i>. Set the expiring time for the language on |
| 86 | 86 | * redis each time it is took from the sql database. |
| 87 | - * @return Language for the current user, $default_language on errors. |
|
| 87 | + * @return string for the current user, $default_language on errors. |
|
| 88 | 88 | */ |
| 89 | 89 | public function getLanguageRedis($default_language = 'en', $expiring_time = '86400') : string |
| 90 | 90 | { |