SearchPublicChat
public struct SearchPublicChat : Codable, Equatable, TDFunction
Searches a public chat by its username. Currently only private chats, supergroups and channels can be public. Returns the chat if found; otherwise an error is returned
-
Undocumented
Declaration
Swift
public typealias Result = Chat
-
Username to be resolved
Declaration
Swift
public let username: String
-
Searches a public chat by its username. Currently only private chats, supergroups and channels can be public. Returns the chat if found; otherwise an error is returned
Declaration
Swift
public init(username: String)
Parameters
username
Username to be resolved