IntermediateScope:
    | { peer: InputPeerLike; type: "peer"
    | "peer_admins" }
    | { chat: InputPeerLike; type: "member"; user: InputPeerLike }

Intermediate bot scope, that is converted to TL type BotCommandScope by the respective functions.

Used to avoid manually resolving peers.