public static class TdApi.SharedChat extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Photo |
photo
Photo of the chat; for bots only; may be null.
|
java.lang.String |
title
Title of the chat; for bots only.
|
java.lang.String |
username
Username of the chat; for bots only.
|
| Constructor and Description |
|---|
SharedChat()
Contains information about a chat shared with a bot.
|
SharedChat(long chatId,
java.lang.String title,
java.lang.String username,
TdApi.Photo photo)
Contains information about a chat shared with a bot.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public java.lang.String title
public java.lang.String username
public TdApi.Photo photo
public static final int CONSTRUCTOR
public SharedChat()
public SharedChat(long chatId,
java.lang.String title,
java.lang.String username,
TdApi.Photo photo)
chatId - Chat identifier.title - Title of the chat; for bots only.username - Username of the chat; for bots only.photo - Photo of the chat; for bots only; may be null.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object