MessageOriginChat¶
- class telegram.MessageOriginChat(date, sender_chat, author_signature=None, *, api_kwargs=None)[source]¶
Bases:
telegram.MessageOrigin
The message was originally sent on behalf of a chat to a group 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.tzinfo
is used.sender_chat (
telegram.Chat
) – Chat that sent the message originally.author_signature (
str
, optional) – For messages originally sent by an anonymous chat administrator, original message author signature
- 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.tzinfo
is used.- Type: