InputSavedStarGiftChat

class pyrogram.raw.types.InputSavedStarGiftChat

A gift received by a channel we own.

Constructor of InputSavedStarGift.

Details:
  • Layer: 223

  • ID: F101AA7F

Parameters:
  • peer (InputPeer) – The channel.

  • saved_id (int 64-bit) – ID of the gift, must be the saved_id of a messageActionStarGift/messageActionStarGiftUnique constructor.

TL Schema

inputSavedStarGiftChat#f101aa7f
peer:InputPeer
saved_id:long

= InputSavedStarGift

Parameter Tree

InputSavedStarGiftChat
├── 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
└── saved_idlong

Example

InputSavedStarGiftChat(
    peer=await app.resolve_peer(chat_id),
    saved_id=0,
)