Documentation
¶
Index ¶
- type AISpeech
- func (a *AISpeech) GetAccessToken() (string, error)
- func (a *AISpeech) GetAccessTokenContext(ctx stdcontext.Context) (string, error)
- func (a *AISpeech) GetContext() *context.Context
- func (a *AISpeech) GetDialog() *dialog.Dialog
- func (a *AISpeech) SetAccessTokenContextHandle(accessTokenContextHandle credential.AccessTokenContextHandle)
- func (a *AISpeech) SetAccessTokenHandle(accessTokenHandle credential.AccessTokenHandle)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AISpeech ¶
type AISpeech struct {
// contains filtered or unexported fields
}
AISpeech 微信智能对话相关 API.
func (*AISpeech) GetAccessToken ¶
GetAccessToken 获取 access token.
func (*AISpeech) GetAccessTokenContext ¶
func (a *AISpeech) GetAccessTokenContext(ctx stdcontext.Context) (string, error)
GetAccessTokenContext 获取 access token.
func (*AISpeech) GetContext ¶
GetContext get Context.
func (*AISpeech) SetAccessTokenContextHandle ¶
func (a *AISpeech) SetAccessTokenContextHandle(accessTokenContextHandle credential.AccessTokenContextHandle)
SetAccessTokenContextHandle 自定义 access_token 获取方式.
func (*AISpeech) SetAccessTokenHandle ¶
func (a *AISpeech) SetAccessTokenHandle(accessTokenHandle credential.AccessTokenHandle)
SetAccessTokenHandle 自定义 access_token 获取方式.
Click to show internal directories.
Click to hide internal directories.