Perhaps doing something like below to prevent hard coding the type

```php
interface MessageType 
{
    const SMS = 'sms';
    const Twitter = 'twitter';
}
```

Then 

```php
'type' => MessageType::SMS
```

Something similar for direction too. `incoming` and `outgoing`