Class TdApi.SetProfilePhoto

  • Enclosing class:
    TdApi

    public static class TdApi.SetProfilePhoto
    extends TdApi.Function
    Changes a profile photo for the current user.

    Returns Ok

    • Constructor Detail

      • SetProfilePhoto

        public SetProfilePhoto()
        Default constructor for a function, which changes a profile photo for the current user.

        Returns Ok

      • SetProfilePhoto

        public SetProfilePhoto​(TdApi.InputChatPhoto photo)
        Creates a function, which changes a profile photo for the current user.

        Returns Ok

        Parameters:
        photo - Profile photo to set.