ChatLocation

data class ChatLocation(location: Location, address: String)

Represents a location to which a chat is connected.

Parameters

location

The location to which the supergroup is connected. Can't be a live location.

address

Location address; 1-64 characters, as defined by the chat owner

Constructors

ChatLocation
Link copied to clipboard
common
fun ChatLocation(location: Location, address: String)
The location to which the supergroup is connected.

Functions

component1
Link copied to clipboard
common
operator fun component1(): Location
component2
Link copied to clipboard
common
operator fun component2(): String
copy
Link copied to clipboard
common
fun copy(location: Location, address: String): ChatLocation
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

address
Link copied to clipboard
common
val address: String
Location address; 1-64 characters, as defined by the chat owner
location
Link copied to clipboard
common
val location: Location
The location to which the supergroup is connected.