I just started working on Kik API to make my very own Kik bot. I need to figure out a way to know the chat id of the user to whom I'll send replies i.e. the user who is already subscribed to me and is sending me messages. This is the code that I'm using :
from kik import KikApi, Configuration
from kik.messages import messages_from_json, TextMessage
import requests
import json
kik = KikApi('bot_username','API_key')
kik.send_messages([
TextMessage(
to='subscribed_user',
chat_id='',
body='Test'
)
])
Please point me in the right direction. Thanks!