public static class TdApi.SetChatPhoto extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputChatPhoto |
photo
New chat photo; pass null to delete the chat photo.
|
Constructor and Description |
---|
SetChatPhoto()
Default constructor for a function, which changes the photo of a chat.
|
SetChatPhoto(long chatId,
TdApi.InputChatPhoto photo)
Creates a function, which changes the photo of a chat.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public TdApi.InputChatPhoto photo
public static final int CONSTRUCTOR
public SetChatPhoto()
Returns Ok
public SetChatPhoto(long chatId, TdApi.InputChatPhoto photo)
Returns Ok
chatId
- Chat identifier.photo
- New chat photo; pass null to delete the chat photo.public int getConstructor()
getConstructor
in class TdApi.Function