public static class TdApi.SetBotProfilePhoto extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
botUserId
Identifier of the target bot.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputChatPhoto |
photo
Profile photo to set; pass null to delete the chat photo.
|
| Constructor and Description |
|---|
SetBotProfilePhoto()
Default constructor for a function, which changes a profile photo for a bot.
|
SetBotProfilePhoto(long botUserId,
TdApi.InputChatPhoto photo)
Creates a function, which changes a profile photo for a bot.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long botUserId
public TdApi.InputChatPhoto photo
public static final int CONSTRUCTOR
public SetBotProfilePhoto()
Returns Ok
public SetBotProfilePhoto(long botUserId,
TdApi.InputChatPhoto photo)
Returns Ok
botUserId - Identifier of the target bot.photo - Profile photo to set; pass null to delete the chat photo.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object