Layer 224
StoryFwdHeaderObj
Contains info about the original poster of a reposted story.
constructor
storyFwdHeader#b826e150 flags:# modified:flags.3?true from:flags.0?Peer from_name:flags.1?string story_id:flags.2?int = StoryFwdHeader;
Parameters
| Name | Type | Description |
|---|---|---|
| Modified | flags.3?true | Whether the story media was modified before reposting it (for example by overlaying a round video with a reaction). |
| From | flags.0?Peer | Peer that originally posted the story; will be empty for stories forwarded from a user with forwards privacy enabled, in which case from_name will be set, instead. |
| FromName | flags.1?string | Will be set for stories forwarded from a user with forwards privacy enabled, in which case from will also be empty. |
| StoryId | flags.2?int | , contains the story ID |
Returns
StoryFwdHeaderGogram Example
// Creating StoryFwdHeaderObj constructor obj := &tg.StoryFwdHeaderObj{ // Optional fields: // Modified: true, // From: &tg.Peer{}, // FromName: "Hello, World!", // StoryId: 42, }