forked from nikhiljohn10/telegram-bot-worker
-
-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #947 from yswtrue/master
add callback_query support
- Loading branch information
Showing
5 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import TelegramFrom from './TelegramFrom.js'; | ||
import TelegramMessage from './TelegramMessage.js'; | ||
|
||
interface TelegramCallbackQuery { | ||
chat_type: 'sender' | 'private' | 'group' | 'supergroup' | 'channel'; | ||
from: TelegramFrom; | ||
id: number; | ||
offset: string; | ||
query: string; | ||
message: TelegramMessage, | ||
inline_message_id: string; | ||
chat_instance: string; | ||
data: string; | ||
game_short_name: string; | ||
} | ||
export default TelegramCallbackQuery; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters