Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TwsmsQueryResponse ¶ added in v1.0.0
type TwsmsQueryResponse struct {
Code string `json:"code"`
Text string `json:"text"`
StatusCode string `json:"statuscode"`
StatusText string `json:"statustext"`
DoneTime string `json:"donetime"`
}
func (*TwsmsQueryResponse) Parse ¶ added in v1.0.0
func (tqr *TwsmsQueryResponse) Parse(data []byte) error
type TwsmsResponse ¶ added in v1.0.0
type TwsmsResponse struct {
Code string `json:"code"`
Text string `json:"text"`
MsgId uint64 `json:"msgid"`
}
func (*TwsmsResponse) Parse ¶ added in v1.0.0
func (tr *TwsmsResponse) Parse(data []byte) error
type TwsmsVoiceQueryResponse ¶ added in v1.0.0
type TwsmsVoiceQueryResponse struct {
MsgId uint64
Mobile string
Playtime uint
TotalPoint uint
Status string
ErrorCode int
}
func QueryVoice ¶ added in v1.0.0
func QueryVoice(username string, password string, messageId uint64) (*TwsmsVoiceQueryResponse, error)
func (*TwsmsVoiceQueryResponse) Parse ¶ added in v1.0.0
func (tvr *TwsmsVoiceQueryResponse) Parse(data []byte) error
type TwsmsVoiceResponse ¶ added in v1.0.0
func (*TwsmsVoiceResponse) Parse ¶ added in v1.0.0
func (tvr *TwsmsVoiceResponse) Parse(data []byte) error
Click to show internal directories.
Click to hide internal directories.