FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
tdesktop/Telegram/SourceFiles/data/data_peer_bot_command.cpp at dev · dmitry/tdesktop · GitHub
dmitry
tdesktop
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
tdesktop
/
Telegram
/
SourceFiles
/
data
/
data_peer_bot_command.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (17 loc) · 549 Bytes
Breadcrumbs
tdesktop
/
Telegram
/
SourceFiles
/
data
/
data_peer_bot_command.cpp
Copy path
File metadata and controls
21 lines (17 loc) · 549 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#
include
"
data/data_peer_bot_command.h
"
namespace
Data
{
BotCommand
BotCommandFromTL
(
const
MTPBotCommand &result) {
return
result.
match
([](
const
MTPDbotCommand &data) {
return
BotCommand {
.
command
=
qs
(data.
vcommand
().
v
),
.
description
=
qs
(data.
vdescription
().
v
),
};
});
}
}
//
namespace Data
Back
|
FazBrowse Home
|
New Git URL