WebPage constructor

WebPage(
  1. {required String url,
  2. required String display_url,
  3. required String type,
  4. required String site_name,
  5. required String title,
  6. required FormattedText description,
  7. Photo? photo,
  8. required String embed_url,
  9. required String embed_type,
  10. required int embed_width,
  11. required int embed_height,
  12. required int duration,
  13. required String author,
  14. Animation? animation,
  15. Audio? audio,
  16. Document? document,
  17. Sticker? sticker,
  18. Video? video,
  19. VideoNote? video_note,
  20. VoiceNote? voice_note,
  21. required int story_sender_chat_id,
  22. required int story_id,
  23. required int instant_view_version,
  24. int? extra,
  25. int? clientId}
)

Describes a web page preview

Implementation

WebPage