':param token: bot API token
:return: Telebot object.'

def __init__(self, token, threaded=True, skip_pending=False, num_threads=2):

    self.token = token
    self.update_listener = []
    self.skip_pending = skip_pending
    self.__stop_polling = threading.Event()
    self.last_update_id = 0
    self.exc_info = None
    self.message_subscribers_messages = []
    self.message_subscribers_callbacks = []
    self.message_subscribers_lock = threading.Lock()
    self.message_subscribers_next_step = {}
    self.pre_message_subscribers_next_step = {}
    self.message_handlers = []
    self.edited_message_handlers = []
    self.channel_post_handlers = []
    self.edited_channel_post_handlers = []
    self.inline_handlers = []
    self.chosen_inline_handlers = []
    self.callback_query_handlers = []
    self.shipping_query_handlers = []
    self.pre_checkout_query_handlers = []
    self.threaded = threaded
    if self.threaded:
        self.worker_pool = util.ThreadPool(num_threads=num_threads)
