ConversationRenameEvent
class ConversationRenameEvent extends Event
Event thrown when a conversation gets renamed
Methods
__construct(Conversation $conversation, string $oldSubject, string $newSubject, Player $player)
Create a new event
getConversation()
Get the conversation that was renamed
string
getOldSubject()
Get the old name of the conversation
string
getNewSubject()
Get the new name of the conversation
Details
at line line 43
__construct(Conversation $conversation, string $oldSubject, string $newSubject, Player $player)
Create a new event
at line line 56
Conversation
getConversation()
Get the conversation that was renamed
at line line 66
Player
getPlayer()
Get the Player who renamed the conversation
at line line 76
string
getOldSubject()
Get the old name of the conversation
at line line 86
string
getNewSubject()
Get the new name of the conversation