messages.GetFactCheck

class pyrogram.raw.functions.messages.GetFactCheck

Fetch one or more factchecks, see here » for the full flow.

Details:
  • Layer: 227

  • ID: B9CDC5EE

Parameters:
  • peer (InputPeer) – Peer where the messages were sent.

  • msg_id (List of int 32-bit) – Messages that have associated factCheck constructors with the need_check flag set.

Returns:

List of FactCheck

TL Schema

messages.getFactCheck#b9cdc5ee
peer:InputPeer
msg_id:Vector<int>

= Vector<FactCheck>

Parameter Tree

GetFactCheck
├── peer → InputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_id → long
│ ├── InputPeerUser
│ │ ├── user_id → long
│ │ └── access_hash → long
│ ├── InputPeerChannel
│ │ ├── 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
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_id → int
│ └── channel_id → long
└── msg_id → Vector < int >

Example

await app.invoke(
    GetFactCheck(
        peer=await app.resolve_peer(chat_id),
        msg_id=[0],
    )
)