getChatShareThemeBackdrops

Returns: ChatShareThemeBackdrops

class aiogram.methods.get_chat_share_theme_backdrops.GetChatShareThemeBackdrops(**extra_data: Any)[source]

Use this method to get the list of backdrops, which can be used as the background of a theme of the screen for sharing a link to a user or a chat. Requires no parameters. Returns a aiogram.types.chat_share_theme_backdrops.ChatShareThemeBackdrops object.

Source: https://core.telegram.org/bots/api#getchatsharethemebackdrops

Usage

As bot method

result: ChatShareThemeBackdrops = await bot.get_chat_share_theme_backdrops(...)

Method as object

Imports:

  • from aiogram.methods.get_chat_share_theme_backdrops import GetChatShareThemeBackdrops

  • alias: from aiogram.methods import GetChatShareThemeBackdrops

With specific bot

result: ChatShareThemeBackdrops = await bot(GetChatShareThemeBackdrops(...))