func NewInlineQueryResultCachedPhoto(photoFileID string) (newPhoto *InlineQueryResultCachedPhoto, generatedID *string) {
	if id, err := newUUID(); err == nil {
		return &InlineQueryResultCachedPhoto{
			InlineQueryResult: InlineQueryResult{
				Type: InlineQueryResultTypePhoto,
				ID:   id,
			},
			PhotoFileID: photoFileID,
		}, &id
	}

	return &InlineQueryResultCachedPhoto{}, nil
}
// NewInlineQueryResultCachedPhoto is a helper function for generating a new InlineQueryResultCachedPhoto
//
// https://core.telegram.org/bots/api#inlinequeryresultcachedphoto
NewInlineQueryResultCachedPhoto is a helper function for generating a new InlineQueryResultCachedPhoto


// NewInlineQueryResultCachedPhoto is a helper function for generating a new InlineQueryResultCachedPhoto // // https : // core . telegram . org / bots / api#inlinequeryresultcachedphoto
func NewInlineQueryResultCachedPhoto(photoFileID string) (newPhoto *InlineQueryResultCachedPhoto, generatedID *string) {
	if id, err := newUUID(); err == nil {
		return &InlineQueryResultCachedPhoto{
			InlineQueryResult: InlineQueryResult{
				Type: InlineQueryResultTypePhoto,
				ID:   id,
			},
			PhotoFileID: photoFileID,
		}, &id
	}
	return &InlineQueryResultCachedPhoto{}, nil
}
func NewInlineQueryResultCachedPhoto ( photoFileID string ) ( newPhoto * InlineQueryResultCachedPhoto , generatedID * string ) { if id , err := newUUID ( ) ; err == nil { return & InlineQueryResultCachedPhoto { InlineQueryResult : InlineQueryResult { Type : InlineQueryResultTypePhoto , ID : id , } , PhotoFileID : photoFileID , } , & id } return & InlineQueryResultCachedPhoto { } , nil }
NewInlineQueryResultCachedPhoto is a helper function for generating a new InlineQueryResultCachedPhoto
NewInlineQueryResultCachedPhoto is a helper function for generating a new InlineQueryResultCachedPhoto