stats.GetMessagePublicForwards
- class pyrogram.raw.functions.stats.GetMessagePublicForwards
Obtains a list of messages, indicating to which other public channels was a channel message forwarded. Will return a list of messages with peer_id equal to the public channel to which this message was forwarded.
- Details:
Layer:
223ID:
5F150144
- Parameters:
- channel (
InputChannel): Source channel
- msg_id (
int32-bit): Source message ID
- offset (
str): Offset for pagination, empty string on first call, then use the next_offset field of the returned constructor (if present, otherwise no more results are available).
- limit (
int32-bit): Maximum number of results to return, see pagination
- channel (
- Returns:
TL Schema
stats.getMessagePublicForwards#5f150144
channel:InputChannel
msg_id:int
offset:string
limit:int
= stats.PublicForwards
Parameter Tree
GetMessagePublicForwards
├── channel →
InputChannel│ ├──
InputChannelEmpty│ ├──
InputChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ └──
InputChannelFromMessage│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long├── msg_id →
int├── offset →
string└── limit →
intExample
await app.invoke(
GetMessagePublicForwards(
channel=await app.resolve_channel(chat_id),
msg_id=0,
offset="text",
limit=0,
)
)