To apply the dollar currency to a value, select the cell, press Ctrl+1 to launch the Format Cells dialog box, and select "Currency" or "Accounting" in the Number tab. Then, choose the dollar symbol ...
Before getting started with telegram-files, you should apply a telegram api id and hash. You can apply for it on the Telegram API page.