phone.GetGroupCallJoinAs

class pyrogram.raw.functions.phone.GetGroupCallJoinAs

Get a list of peers that can be used to join a group call, presenting yourself as a specific user/channel.

Details:
  • Layer: 227

  • ID: EF7C213A

Parameters:

peer (InputPeer) – The dialog whose group call or livestream we’re trying to join

Returns:

phone.JoinAsPeers

TL Schema

phone.getGroupCallJoinAs#ef7c213a
peer:InputPeer

= phone.JoinAsPeers

Parameter Tree

GetGroupCallJoinAs
└── peer → InputPeer
├── InputPeerEmpty
├── InputPeerSelf
├── InputPeerChat
│ └── chat_id → long
├── InputPeerUser
│ ├── user_id → long
│ └── access_hash → long
│ ├── channel_id → long
│ └── access_hash → long
│ ├── peer → InputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── user_id → long
├── peer → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_id → int
└── channel_id → long

Example

await app.invoke(
    GetGroupCallJoinAs(
        peer=await app.resolve_peer(chat_id),
    )
)