5 use Illuminate\Database\Eloquent\Factories\HasFactory;
6 use Illuminate\Database\Eloquent\Model;
8 class ChatBotLog extends Model {
12 public function channel() {
13 return $this->belongsTo(Channel::class);
16 public function origin() {
17 return $this->morphTo();
20 public function user() {
21 return $this->belongsTo(User::class);