获取“用户正在输入"的电报 API 方法是什么?对话的信息? [英] What's the telegram API method to get "user is typing" info on a conversation?

查看:29
本文介绍了获取“用户正在输入"的电报 API 方法是什么?对话的信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试实现一个非常基本的 Telegram 客户端.我想知道如何获取告诉我其他用户正在输入的信息.

我知道如何发送此信息:通过使用 setTyping 方法.>

现在我怎样才能收到它?没有getTyping方法,API描述比较混乱.

解决方案

在写入状态"更改时,您的应用将收到 updateUserTyping.您可以从那里获取信息.

希望能帮到你

I am trying to implement a very basic Telegram client. I would like to know how can I get the info that tells me the other user is typing.

I know how to send this information: By using the setTyping method.

Now how can I receive it? There is no getTyping mehtod, and the API description is quite confusing.

解决方案

upon "writing status" change, your app will receive an update of the type updateUserTyping. From there you can get the information.

Hope it helps

这篇关于获取“用户正在输入"的电报 API 方法是什么?对话的信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆