# `ExGram.Model.MessageOriginChannel`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.64.0/lib/ex_gram.ex#L3757)

The message was originally sent to a channel chat.

Check the [documentation of this model on Telegram Bot API](https://core.telegram.org/bots/api#messageoriginchannel)

- `type`: Type of the message origin, always "channel”
- `date`: Date the message was sent originally in Unix time
- `chat`: Channel chat to which the message was originally sent
- `message_id`: Unique message identifier inside the chat
- `author_signature (optional)`: Optional. Signature of the original post author

# `t`

```elixir
@type t() :: %ExGram.Model.MessageOriginChannel{
  author_signature: String.t() | nil,
  chat: ExGram.Model.Chat.t(),
  date: integer(),
  message_id: integer(),
  type: String.t()
}
```

# `decode_as`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
