SearchChatsNearby
public struct SearchChatsNearby : Codable, Equatable, TDFunction
Returns a list of users and location-based supergroups nearby. The list of users nearby will be updated for 60 seconds after the request by the updates updateUsersNearby. The request should be sent again every 25 seconds with adjusted location to not miss new chats
-
Undocumented
Declaration
Swift
public typealias Result = ChatsNearby
-
Current user location
Declaration
Swift
public let location: Location
-
Returns a list of users and location-based supergroups nearby. The list of users nearby will be updated for 60 seconds after the request by the updates updateUsersNearby. The request should be sent again every 25 seconds with adjusted location to not miss new chats
Declaration
Swift
public init(location: Location)
Parameters
location
Current user location