ChatPhoto

data class ChatPhoto(smallFileId: String, smallFileUniqueId: String, bigFileId: String, bigFileUniqueId: String)

This object represents a chat photo.

Parameters

smallFileId

File identifier of small (160x160) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.

smallFileUniqueId

Unique file identifier of small (160x160) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

bigFileId

File identifier of big (640x640) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed.

bigFileUniqueId

Unique file identifier of big (640x640) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

Constructors

ChatPhoto
Link copied to clipboard
common
fun ChatPhoto(smallFileId: String, smallFileUniqueId: String, bigFileId: String, bigFileUniqueId: String)
File identifier of small (160x160) chat photo.

Functions

component1
Link copied to clipboard
common
operator fun component1(): String
component2
Link copied to clipboard
common
operator fun component2(): String
component3
Link copied to clipboard
common
operator fun component3(): String
component4
Link copied to clipboard
common
operator fun component4(): String
copy
Link copied to clipboard
common
fun copy(smallFileId: String, smallFileUniqueId: String, bigFileId: String, bigFileUniqueId: String): ChatPhoto
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

bigFileId
Link copied to clipboard
common
val bigFileId: String
File identifier of big (640x640) chat photo.
bigFileUniqueId
Link copied to clipboard
common
val bigFileUniqueId: String
Unique file identifier of big (640x640) chat photo, which is supposed to be the same over time and for different bots.
smallFileId
Link copied to clipboard
common
val smallFileId: String
File identifier of small (160x160) chat photo.
smallFileUniqueId
Link copied to clipboard
common
val smallFileUniqueId: String
Unique file identifier of small (160x160) chat photo, which is supposed to be the same over time and for different bots.