SetProfilePhoto

public struct SetProfilePhoto : Codable, Equatable, TDFunction

Uploads a new profile photo for the current user. If something changes, updateUser will be sent

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Profile photo to set. inputFileId and inputFileRemote may still be unsupported

    Declaration

    Swift

    public let photo: InputFile
  • Uploads a new profile photo for the current user. If something changes, updateUser will be sent

    Declaration

    Swift

    public init(photo: InputFile)

    Parameters

    photo

    Profile photo to set. inputFileId and inputFileRemote may still be unsupported