messages.DeletePollAnswer

class pyrogram.raw.functions.messages.DeletePollAnswer

Telegram API function.

Details:
  • Layer: 227

  • ID: AC8505A5

Parameters:
  • peer (InputPeer) – N/A

  • msg_id (int 32-bit) – N/A

  • option (bytes) – N/A

Returns:

Updates

TL Schema

messages.deletePollAnswer#ac8505a5
peer:InputPeer
msg_id:int
option:bytes

= Updates

Parameter Tree

DeletePollAnswer
├── 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 → int
└── option → bytes

Example

await app.invoke(
    DeletePollAnswer(
        peer=await app.resolve_peer(chat_id),
        msg_id=0,
        option=b"data",
    )
)