mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-18 16:18:04 +00:00
Upgraded messages creation
This commit is contained in:
23
classes/models/NewConversationMessage.php
Normal file
23
classes/models/NewConversationMessage.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* New conversation message object
|
||||
*
|
||||
* @author Pierre HUBERT
|
||||
*/
|
||||
|
||||
class NewConversationMessage extends ConversationMessage {
|
||||
|
||||
//Private fields
|
||||
private $conversationID;
|
||||
|
||||
//Get and set conversation ID
|
||||
public function set_conversationID(int $conversationID){
|
||||
$this->conversationID = $conversationID;
|
||||
}
|
||||
|
||||
public function get_conversationID() : int {
|
||||
return $this->conversationID;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user