Logo
version:

Introduction

  • Quick Start
  • Install Guide
  • Project Setup

Getting Started

  • Authorization
  • Calling Methods
  • Handling Updates
  • Error Handling
  • Examples

API Reference

  • Pyrogram Client
  • Available Methods
  • Available Types
  • Bound Methods
  • Update Handlers
  • Decorators
  • RPC Errors
  • Update Filters

Topic Guides

  • Using Filters
  • Creating Filters
  • More on Updates
  • Configuration File
  • Smart Plugins
  • Session Settings
  • Fast Crypto
  • Storage Engines
  • Text Formatting
  • Object Serialization
  • SOCKS5 Proxy
  • Scheduling Tasks
  • Bots Interaction
  • MTProto vs. Bot API
  • Debugging
  • Test Servers
  • Advanced Usage
  • Voice Calls

Meta

  • Pyrogram FAQ
  • Pyrogram Glossary
  • Support Pyrogram
  • About the License
  • Release Notes

Telegram API

  • Raw Functions
  • Raw Types
  • Raw Base
Pyrogram
  • Docs »
  • Raw Functions »
  • Channels »
  • ExportMessageLink
  • View on GitHub

ExportMessageLink¶

class pyrogram.raw.functions.channels.ExportMessageLink¶

Get link and embed info of a message in a channel/supergroup.

Details
  • Layer: 126

  • ID: 0xe63fadeb

Parameters
  • channel (InputChannel) – Channel.

  • id (int 32-bit) – Message ID.

  • grouped (bool, optional) – Whether to include other grouped media (for albums).

  • thread (bool, optional) – Whether to also include a thread ID, if available, inside of the link.

Returns

ExportedMessageLink – HTTP link and embed info of channel message.

Next Previous

Pyrogram documentation © Copyright 2017-2021, Dan

Licensed under the Creative Commons Attribution 4.0 International License

Built with Sphinx using a theme provided by Read the Docs.