MessageOriginChannel¶
- class telegram.MessageOriginChannel(date, chat, message_id, author_signature=None, *, api_kwargs=None)[source]¶
Bases:
telegram.MessageOriginThe message was originally sent to a channel chat.
Added in version 20.8.
- Parameters:
date (
datetime.datetime) – Date the message was sent originally. The default timezone of the bot is used for localization, which is UTC unlesstelegram.ext.Defaults.tzinfois used.chat (
telegram.Chat) – Channel chat to which the message was originally sent.message_id (
int) – Unique message identifier inside the chat.author_signature (
str, optional) – Signature of the original post author.
- date[source]¶
Date the message was sent originally. The default timezone of the bot is used for localization, which is UTC unless
telegram.ext.Defaults.tzinfois used.- Type:
datetime.datetime