func NewInlineQueryResultCachedDocument(title, documentFileID string) (newDocument *InlineQueryResultCachedDocument, generatedID *string) {
	if id, err := newUUID(); err == nil {
		return &InlineQueryResultCachedDocument{
			InlineQueryResult: InlineQueryResult{
				Type: InlineQueryResultTypeDocument,
				ID:   id,
			},
			Title:          title,
			DocumentFileID: documentFileID,
		}, &id
	}

	return &InlineQueryResultCachedDocument{}, nil
}
// NewInlineQueryResultCachedDocument is a helper function for generating a new InlineQueryResultCachedDocument
//
// https://core.telegram.org/bots/api#inlinequeryresultcacheddocument
NewInlineQueryResultCachedDocument is a helper function for generating a new InlineQueryResultCachedDocument


// NewInlineQueryResultCachedDocument is a helper function for generating a new InlineQueryResultCachedDocument // // https : // core . telegram . org / bots / api#inlinequeryresultcacheddocument
func NewInlineQueryResultCachedDocument(title, documentFileID string) (newDocument *InlineQueryResultCachedDocument, generatedID *string) {
	if id, err := newUUID(); err == nil {
		return &InlineQueryResultCachedDocument{
			InlineQueryResult: InlineQueryResult{
				Type: InlineQueryResultTypeDocument,
				ID:   id,
			},
			Title:          title,
			DocumentFileID: documentFileID,
		}, &id
	}
	return &InlineQueryResultCachedDocument{}, nil
}
func NewInlineQueryResultCachedDocument ( title , documentFileID string ) ( newDocument * InlineQueryResultCachedDocument , generatedID * string ) { if id , err := newUUID ( ) ; err == nil { return & InlineQueryResultCachedDocument { InlineQueryResult : InlineQueryResult { Type : InlineQueryResultTypeDocument , ID : id , } , Title : title , DocumentFileID : documentFileID , } , & id } return & InlineQueryResultCachedDocument { } , nil }
NewInlineQueryResultCachedDocument is a helper function for generating a new InlineQueryResultCachedDocument
NewInlineQueryResultCachedDocument is a helper function for generating a new InlineQueryResultCachedDocument