mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-18 16:18:04 +00:00
API use ConversationMessage object
This commit is contained in:
@ -24,6 +24,10 @@ class ConversationMessage extends BaseUniqueObjectFromUser {
|
||||
return $this->image_path != null ? $this->image_path : "null";
|
||||
}
|
||||
|
||||
public function get_image_url() : string {
|
||||
return path_user_data($this->get_image_path());
|
||||
}
|
||||
|
||||
|
||||
//Set and get message
|
||||
public function set_message(string $message){
|
||||
|
Reference in New Issue
Block a user