func NewInlineQueryResultVoice(voiceURL, title string) (newVoice *InlineQueryResultVoice, generatedID *string) {
	if id, err := newUUID(); err == nil {
		return &InlineQueryResultVoice{
			InlineQueryResult: InlineQueryResult{
				Type: InlineQueryResultTypeVoice,
				ID:   id,
			},
			VoiceURL: voiceURL,
			Title:    title,
		}, &id
	}

	return &InlineQueryResultVoice{}, nil
}
// NewInlineQueryResultVoice is a helper function for generating a new InlineQueryResultVoice
//
// https://core.telegram.org/bots/api#inlinequeryresultvoice
NewInlineQueryResultVoice is a helper function for generating a new InlineQueryResultVoice

core.telegram.org/bots/api#inlinequeryresultvoice
// NewInlineQueryResultVoice is a helper function for generating a new InlineQueryResultVoice // // https : // core . telegram . org / bots / api#inlinequeryresultvoice
func NewInlineQueryResultVoice(voiceURL, title string) (newVoice *InlineQueryResultVoice, generatedID *string) {
	if id, err := newUUID(); err == nil {
		return &InlineQueryResultVoice{
			InlineQueryResult: InlineQueryResult{
				Type: InlineQueryResultTypeVoice,
				ID:   id,
			},
			VoiceURL: voiceURL,
			Title:    title,
		}, &id
	}
	return &InlineQueryResultVoice{}, nil
}
func NewInlineQueryResultVoice ( voiceURL , title string ) ( newVoice * InlineQueryResultVoice , generatedID * string ) { if id , err := newUUID ( ) ; err == nil { return & InlineQueryResultVoice { InlineQueryResult : InlineQueryResult { Type : InlineQueryResultTypeVoice , ID : id , } , VoiceURL : voiceURL , Title : title , } , & id } return & InlineQueryResultVoice { } , nil }
NewInlineQueryResultVoice is a helper function for generating a new InlineQueryResultVoice
NewInlineQueryResultVoice is a helper function for generating a new InlineQueryResultVoice