InputWebDocument
- class pyrogram.raw.base.InputWebDocument
Specifies a document that will have to be downloaded from the URL by the telegram servers
- Constructors:
This base type has 1 constructor available.
The document
TL Schema
inputWebDocument#9bed434d
url:string
size:int
mime_type:string
attributes:Vector<DocumentAttribute>
= InputWebDocument
Parameter Tree
InputWebDocument
├── url →
string├── size →
int├── mime_type →
string└── attributes →
Vector < DocumentAttribute >│ ├── w →
int│ └── h →
int│ ├── mask →
true (optional)│ ├── alt →
string│ ├── stickerset →
InputStickerSet│ │ ├──
InputStickerSetEmpty│ │ ├──
InputStickerSetID│ │ │ ├── id →
long│ │ │ └── access_hash →
long│ │ ├──
InputStickerSetShortName│ │ │ └── short_name →
string│ │ ├──
InputStickerSetAnimatedEmoji│ │ ├──
InputStickerSetDice│ │ │ └── emoticon →
string│ │ ├──
InputStickerSetPremiumGifts│ │ └──
InputStickerSetTonGifts│ └── mask_coords →
MaskCoords (optional)│ └──
MaskCoords│ ├── n →
int│ ├── x →
double│ ├── y →
double│ └── zoom →
double│ ├── round_message →
true (optional)│ ├── supports_streaming →
true (optional)│ ├── nosound →
true (optional)│ ├── duration →
double│ ├── w →
int│ ├── h →
int│ ├── preload_prefix_size →
int (optional)│ ├── video_start_ts →
double (optional)│ └── video_codec →
string (optional)│ ├── voice →
true (optional)│ ├── duration →
int│ ├── title →
string (optional)│ ├── performer →
string (optional)│ └── waveform →
bytes (optional)│ └── file_name →
string├── free →
true (optional)├── text_color →
true (optional)├── alt →
string└── stickerset →
InputStickerSet│ ├── id →
long│ └── access_hash →
long│ └── short_name →
string│ └── emoticon →
stringExample
InputWebDocument(
url="https://google.com",
size=0,
mime_type="text",
attributes=[
DocumentAttributeImageSize(
w=0,
h=0
)
],
)