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.

New in version 20.8.

Parameters:
type[source]

Type of the message origin. Always 'chat'.

Type:

str

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:

datetime.datetime

sender_chat[source]

Chat that sent the message originally.

Type:

telegram.Chat

author_signature[source]

Optional. For messages originally sent by an anonymous chat administrator, original message author signature

Type:

str