- API ›
- Constructors ›
- DocumentAttributeCustomEmoji
DocumentAttributeCustomEmoji
---types--- documentAttributeCustomEmoji#fd149899 free:flags.0?true text_color:flags.1?true alt:string stickerset:InputStickerSet = DocumentAttribute
Belongs to
| DocumentAttribute |
In Rust this constructor is a variant of the enums::DocumentAttribute enum.
Match on it with: if let enums::DocumentAttribute::DocumentAttributeCustomEmoji(v) = result { ... }
Parameters
| free | true | optional |
| text_color | true | optional |
| alt | string | required |
| stickerset | InputStickerSet | required |