bots.GetAccessSettings

class pyrogram.raw.functions.bots.GetAccessSettings

Telegram API function.

Details:
  • Layer: 225

  • ID: 213853A3

Parameters:

bot (InputUser) – N/A

Returns:

bots.AccessSettings

TL Schema

bots.getAccessSettings#213853a3
bot:InputUser

= bots.AccessSettings

Parameter Tree

GetAccessSettings
└── botInputUser
├── InputUserEmpty
├── InputUserSelf
├── InputUser
│ ├── user_idlong
│ └── access_hashlong
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_idint
└── user_idlong

Example

await app.invoke(
    GetAccessSettings(
        bot=await app.resolve_user(chat_id),
    )
)