messages.GetFactCheck

class pyrogram.raw.functions.messages.GetFactCheck

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

Details:
  • Layer: 223

  • 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
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_idlong
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
└── msg_idVector < int >

Example

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