public static class TdApi.EditStory extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
TdApi.InputStoryAreas |
areas
New clickable rectangle areas to be shown on the story media; pass null to keep the current areas.
|
TdApi.FormattedText |
caption
New story caption; pass null to keep the current caption.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputStoryContent |
content
New content of the story; pass null to keep the current content.
|
int |
storyId
Identifier of the story to edit.
|
long |
storySenderChatId
Identifier of the chat that posted the story.
|
| Constructor and Description |
|---|
EditStory()
Default constructor for a function, which changes content and caption of a story.
|
EditStory(long storySenderChatId,
int storyId,
TdApi.InputStoryContent content,
TdApi.InputStoryAreas areas,
TdApi.FormattedText caption)
Creates a function, which changes content and caption of a story.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long storySenderChatId
public int storyId
public TdApi.InputStoryContent content
public TdApi.InputStoryAreas areas
public TdApi.FormattedText caption
public static final int CONSTRUCTOR
public EditStory()
Returns Ok
public EditStory(long storySenderChatId,
int storyId,
TdApi.InputStoryContent content,
TdApi.InputStoryAreas areas,
TdApi.FormattedText caption)
Returns Ok
storySenderChatId - Identifier of the chat that posted the story.storyId - Identifier of the story to edit.content - New content of the story; pass null to keep the current content.areas - New clickable rectangle areas to be shown on the story media; pass null to keep the current areas. Areas can't be edited if story content isn't changed.caption - New story caption; pass null to keep the current caption.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object