channels.ConvertToGigagroup

class pyrogram.raw.functions.channels.ConvertToGigagroup

Convert a supergroup to a gigagroup, when requested by channel suggestions.

Details:
  • Layer: 223

  • ID: B290C69

Parameters:

channel (InputChannel) – The supergroup to convert

Returns:

Updates

TL Schema

channels.convertToGigagroup#b290c69
channel:InputChannel

= Updates

Parameter Tree

ConvertToGigagroup
└── channelInputChannel
├── InputChannel
│ ├── channel_idlong
│ └── access_hashlong
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_idint
└── channel_idlong

Example

await app.invoke(
    ConvertToGigagroup(
        channel=await app.resolve_channel(chat_id),
    )
)