Generate a story deep link for a specific story
Method schema is available as of layer 164. Switch ยป
Name | Type | Description |
---|---|---|
peer | InputPeer | Peer where the story was posted |
id | int | Story ID |
Code | Type | Description |
---|---|---|
400 | PEER_ID_INVALID | The provided peer id is invalid. |
400 | STORY_ID_EMPTY | You specified no story IDs. |
400 | USER_PUBLIC_MISSING | Cannot generate a link to stories posted by a peer without a username. |
Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.