abstract class Message implements MessageInterface (View source)

Class Message

Methods

__construct($sender)

Message constructor.

mixed
getSender()

Get sender id

array
toData()

To array for send api

Details

__construct($sender)

Message constructor.

Parameters

$sender

mixed getSender()

Get sender id

Return Value

mixed

abstract array toData()

To array for send api

Return Value

array