BOT API 7.2 implementation
This commit is contained in:
parent
f3a5b4ed79
commit
6a83e6e519
5 changed files with 309 additions and 10 deletions
|
|
@ -1075,6 +1075,13 @@ func NewSetMyName(languageCode, name string) SetMyNameConfig {
|
|||
}
|
||||
}
|
||||
|
||||
// NewGetBusinessConnection gets business connection request struct
|
||||
func NewGetBusinessConnection(id string) GetBusinessConnectionConfig {
|
||||
return GetBusinessConnectionConfig{
|
||||
BusinessConnectionID: BusinessConnectionID(id),
|
||||
}
|
||||
}
|
||||
|
||||
// NewGetMyCommandsWithScope allows you to set the registered commands for a
|
||||
// given scope.
|
||||
func NewGetMyCommandsWithScope(scope BotCommandScope) GetMyCommandsConfig {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue