public static class TdApi.CanSendStory extends TdApi.Function<TdApi.CanSendStoryResult>
Returns CanSendStoryResult
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
CanSendStory()
Default constructor for a function, which checks whether the current user can send a story on behalf of a chat; requires canPostStories right for supergroup and channel chats.
|
CanSendStory(long chatId)
Creates a function, which checks whether the current user can send a story on behalf of a chat; requires canPostStories right for supergroup and channel chats.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public static final int CONSTRUCTOR
public CanSendStory()
Returns CanSendStoryResult
public CanSendStory(long chatId)
Returns CanSendStoryResult
chatId - Chat identifier. Pass Saved Messages chat identifier when posting a story on behalf of the current user.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object