ChatBoostSourcePremium

New in version 20.8.

class telegram.ChatBoostSourcePremium(user, *, api_kwargs=None)[source]

Bases: telegram.ChatBoostSource

The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user.

New in version 20.8.

Parameters:

user (telegram.User) – User that boosted the chat.

source[source]

The source of the chat boost. Always PREMIUM.

Type:

str

user[source]

User that boosted the chat.

Type:

telegram.User