Skip to content

Commit

Permalink
Document get_chat_title
Browse files Browse the repository at this point in the history
  • Loading branch information
jinnatar committed Jul 19, 2020
1 parent 205125d commit 7b31bde
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.201.3
2.0.201.4
2 changes: 1 addition & 1 deletion config/config.json.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"VERSION":"2.0.201.3",
"VERSION":"2.0.201.4",
"DB_HOST":"localhost",
"DB_NAME":"your_database_name",
"DB_USER":"your_database_user",
Expand Down
5 changes: 5 additions & 0 deletions logic.php
Original file line number Diff line number Diff line change
Expand Up @@ -2870,6 +2870,11 @@ function delete_overview($chat_id, $message_id)
);
}

/**
* Return the title of the given chat_id.
* @param $chat_id
* @return string
*/
function get_chat_title($chat_id){
// Get info about chat for title.
debug_log('Getting chat object for chat_id: ' . $chat_id);
Expand Down

0 comments on commit 7b31bde

Please sign in to comment.