DeleteChatPhotoRequest

data class DeleteChatPhotoRequest(chat_id: String) : TelegramRequest

Use this method to delete a chat photo. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns True on success.

Constructors

DeleteChatPhotoRequest
Link copied to clipboard
fun DeleteChatPhotoRequest(chat_id: String)

Properties

chat_id
Link copied to clipboard
val chat_id: String
Unique identifier for the target chat or username of the target channel (in the format @channelusername)