Below information is given to me by my friend Turkan. Her former students prepared the information earlier and she shared it with me. Thanks to everyone!
Sheki Khan Sarayi was built in 1761-62 by grandson of the founder of Sheki Khanate Hachi Chelebi Khan, Huseyn Khan Mushtaq. One of the main reasons of construction of the Palace was that Huseyn Khan was also a poet and wrote poems under nom de plume Mushtaq and loved artistic gatherings very much. Therefore Khan got built such a magnificent Palace and used to invite poets and scholars to it. Prominent Azerbaijani poets Molla Panah Vaqif and Molla Veli Vidadi can be mentioned among the invitees to Khan Sarayi. Khan Sarayi is an ornamental miracle that can be compared to richly ornamented Azerbaijan carpet.