mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
no message
This commit is contained in:
@@ -187,7 +187,7 @@ public final class TelegramChannel: Peer {
|
||||
public let restrictionInfo: PeerAccessRestrictionInfo?
|
||||
|
||||
public var indexName: PeerIndexNameRepresentation {
|
||||
return .title(self.title)
|
||||
return .title(title: self.title, addressName: self.username)
|
||||
}
|
||||
|
||||
public init(id: PeerId, accessHash: Int64?, title: String, username: String?, photo: [TelegramMediaImageRepresentation], creationDate: Int32, version: Int32, participationStatus: TelegramChannelParticipationStatus, role: TelegramChannelRole, info: TelegramChannelInfo, flags: TelegramChannelFlags, restrictionInfo: PeerAccessRestrictionInfo?) {
|
||||
|
||||
Reference in New Issue
Block a user