func NewInlineQueryResultCachedVoice(title, voiceFileID string) (newVoice *InlineQueryResultCachedVoice, generatedID *string) {
	if id, err := newUUID(); err == nil {
		return &InlineQueryResultCachedVoice{
			InlineQueryResult: InlineQueryResult{
				Type: InlineQueryResultTypeVoice,
				ID:   id,
			},
			Title:       title,
			VoiceFileID: voiceFileID,
		}, &id
	}

	return &InlineQueryResultCachedVoice{}, nil
}
// NewInlineQueryResultCachedVoice is a helper function for generating a new InlineQueryResultCachedVoice
//
// https://core.telegram.org/bots/api#inlinequeryresultcachedvoice
NewInlineQueryResultCachedVoice is a helper function for generating a new InlineQueryResultCachedVoice


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