- Enclosing class:
- TdApi
Changes a profile photo for a bot.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the target bot.static final int
Profile photo to set; pass null to delete the chat photo. -
Constructor Summary
ConstructorDescriptionChanges a profile photo for a bot.SetBotProfilePhoto
(long botUserId, TdApi.InputChatPhoto photo) Changes a profile photo for a bot.SetBotProfilePhoto
(DataInput input) Changes a profile photo for a bot. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
botUserId
public long botUserIdIdentifier of the target bot. -
photo
Profile photo to set; pass null to delete the chat photo. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetBotProfilePhoto
public SetBotProfilePhoto()Changes a profile photo for a bot. ReturnsOk
-
SetBotProfilePhoto
Changes a profile photo for a bot. ReturnsOk
- Parameters:
botUserId
- long Identifier of the target bot.photo
- InputChatPhoto Profile photo to set; pass null to delete the chat photo.
-
SetBotProfilePhoto
Changes a profile photo for a bot. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-