# IMPORT

from telegram.ext import Updater, Dispatcher, CommandHandler, MessageHandler, MessageHandler, Filters

# INITIALIZATION

updater = Updater(token='501645217:AAGQ_sX_zD4IKwj-kOLnBQSdTXV2uPOGOuY')
dispatcher = updater.dispatcher

# FUNCTIONS

def start(bot, update):
    bot.send_message(chat_id=update.message.chat_id, text='Write your message to Nozhan.')

def send(bot, update):
    fullname = update.message.from_user.first_name+' '+update.message.from_user.last_name
    username = '@'+update.message.from_user.username
    bot.send_message(chat_id = 266661234,
        text='Message from {} ({}):\n\n'.format(fullname, username) + update.message.text)
    bot.send_message(chat_id=update.message.chat_id, text='Message sent.')

# def id(bot, update):
#     bot.send_message(chat_id=update.message.chat_id,
#         text='```'+str(update.message.chat_id)+'```', parse_mode='Markdown')

# HANDLERS

dispatcher.add_handler(CommandHandler('start', start))
dispatcher.add_handler(MessageHandler(Filters.text, send))
# dispatcher.add_handler(CommandHandler('id', id))

# DEPLOY

updater.start_polling()

9e852aa970d0f3cdc072d1e6120a639259802fb3
<mask token>


def start(bot, update):
    bot.send_message(chat_id=update.message.chat_id, text=
        'Write your message to Nozhan.')


def send(bot, update):
    fullname = (update.message.from_user.first_name + ' ' + update.message.
        from_user.last_name)
    username = '@' + update.message.from_user.username
    bot.send_message(chat_id=266661234, text='Message from {} ({}):\n\n'.
        format(fullname, username) + update.message.text)
    bot.send_message(chat_id=update.message.chat_id, text='Message sent.')


<mask token>

<mask token>


def start(bot, update):
    bot.send_message(chat_id=update.message.chat_id, text=
        'Write your message to Nozhan.')


def send(bot, update):
    fullname = (update.message.from_user.first_name + ' ' + update.message.
        from_user.last_name)
    username = '@' + update.message.from_user.username
    bot.send_message(chat_id=266661234, text='Message from {} ({}):\n\n'.
        format(fullname, username) + update.message.text)
    bot.send_message(chat_id=update.message.chat_id, text='Message sent.')


dispatcher.add_handler(CommandHandler('start', start))
dispatcher.add_handler(MessageHandler(Filters.text, send))
updater.start_polling()

<mask token>
updater = Updater(token='501645217:AAGQ_sX_zD4IKwj-kOLnBQSdTXV2uPOGOuY')
dispatcher = updater.dispatcher


def start(bot, update):
    bot.send_message(chat_id=update.message.chat_id, text=
        'Write your message to Nozhan.')


def send(bot, update):
    fullname = (update.message.from_user.first_name + ' ' + update.message.
        from_user.last_name)
    username = '@' + update.message.from_user.username
    bot.send_message(chat_id=266661234, text='Message from {} ({}):\n\n'.
        format(fullname, username) + update.message.text)
    bot.send_message(chat_id=update.message.chat_id, text='Message sent.')


dispatcher.add_handler(CommandHandler('start', start))
dispatcher.add_handler(MessageHandler(Filters.text, send))
updater.start_polling()

from telegram.ext import Updater, Dispatcher, CommandHandler, MessageHandler, MessageHandler, Filters
updater = Updater(token='501645217:AAGQ_sX_zD4IKwj-kOLnBQSdTXV2uPOGOuY')
dispatcher = updater.dispatcher


def start(bot, update):
    bot.send_message(chat_id=update.message.chat_id, text=
        'Write your message to Nozhan.')


def send(bot, update):
    fullname = (update.message.from_user.first_name + ' ' + update.message.
        from_user.last_name)
    username = '@' + update.message.from_user.username
    bot.send_message(chat_id=266661234, text='Message from {} ({}):\n\n'.
        format(fullname, username) + update.message.text)
    bot.send_message(chat_id=update.message.chat_id, text='Message sent.')


dispatcher.add_handler(CommandHandler('start', start))
dispatcher.add_handler(MessageHandler(Filters.text, send))
updater.start_polling()

# IMPORT

from telegram.ext import Updater, Dispatcher, CommandHandler, MessageHandler, MessageHandler, Filters

# INITIALIZATION

updater = Updater(token='501645217:AAGQ_sX_zD4IKwj-kOLnBQSdTXV2uPOGOuY')
dispatcher = updater.dispatcher

# FUNCTIONS

def start(bot, update):
    bot.send_message(chat_id=update.message.chat_id, text='Write your message to Nozhan.')

def send(bot, update):
    fullname = update.message.from_user.first_name+' '+update.message.from_user.last_name
    username = '@'+update.message.from_user.username
    bot.send_message(chat_id = 266661234,
        text='Message from {} ({}):\n\n'.format(fullname, username) + update.message.text)
    bot.send_message(chat_id=update.message.chat_id, text='Message sent.')

# def id(bot, update):
#     bot.send_message(chat_id=update.message.chat_id,
#         text='```'+str(update.message.chat_id)+'```', parse_mode='Markdown')

# HANDLERS

dispatcher.add_handler(CommandHandler('start', start))
dispatcher.add_handler(MessageHandler(Filters.text, send))
# dispatcher.add_handler(CommandHandler('id', id))

# DEPLOY

updater.start_polling()
