Exemplo n.º 1
0
/* Get the typing status of a friend.
 *
 * returns 0 if friend is not typing.
 * returns 1 if friend is typing.
 */
uint8_t tox_get_is_typing(const Tox *tox, int32_t friendnumber)
{
    const Messenger *m = tox;
    return m_get_istyping(m, friendnumber);
}
Exemplo n.º 2
0
/* Get the typing status of a friend.
 *
 * returns 0 if friend is not typing.
 * returns 1 if friend is typing.
 */
int tox_get_is_typing(Tox *tox, int friendnumber)
{
    Messenger *m = tox;
    return m_get_istyping(m, friendnumber);
}