SetChatLocation
public struct SetChatLocation : Codable, Equatable, TDFunction
Changes the location of a chat. Available only for some location-based supergroups, use supergroupFullInfo.can_set_location to check whether the method is allowed to use
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
Chat identifier
Declaration
Swift
public let chatId: Int53
-
New location for the chat; must be valid and not null
Declaration
Swift
public let location: ChatLocation
-
Changes the location of a chat. Available only for some location-based supergroups, use supergroupFullInfo.can_set_location to check whether the method is allowed to use
Declaration
Swift
public init(chatId: Int53, location: ChatLocation)
Parameters
chatId
Chat identifier
location
New location for the chat; must be valid and not null