iam getting an error like inconsistent use of tabs and spaces in indentation
Check you python code file example telegram_text.py tabs and spaces must be incorrect . Extra space might being added . Also your terminal window must show line where the error occurred . Error must be nearby those line try deleting some space or tab and readjust your code.
@sowmyaseetha99 is your problem solved. If solved then ok, if not please share the screenshot of the code you typed on ubuntu