#!/usr/bin/env python
# -*- coding: utf-8 -*-
import vk_api
def main():
login, password = 'LOGIN', 'PASSWORD'
vk_session = vk_api.VkApi(login, password)
try:
vk_session.auth()
except vk_api.AuthError as error_msg:
print(error_msg)
return
vk = vk_session.get_api()
response = vk.messages.removeChatUser(chat_id=ID_CHAT, user_id=ID_USER)