# starGiftAttributePattern

> A sticker applied on the backdrop of a collectible gift » using a repeating pattern.

[Back to constructors index](/API_docs/constructors/index.html)



A [sticker](https://core.telegram.org/api/stickers) applied on the backdrop of a [collectible gift »](https://core.telegram.org/api/gifts) using a repeating pattern.

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|name|[string](/API_docs/types/string.html) | Yes|Name of the symbol|
|document|[Document](/API_docs/types/Document.html) | Optional|The symbol|
|rarity|[StarGiftAttributeRarity](/API_docs/types/StarGiftAttributeRarity.html) | Yes|



### Type: [StarGiftAttribute](/API_docs/types/StarGiftAttribute.html)


### Example:

```
$starGiftAttributePattern = ['_' => 'starGiftAttributePattern', 'name' => 'string', 'document' => Document, 'rarity' => StarGiftAttributeRarity];
```
