Dice Class
extends BaseRepresents an animated emoji that displays a random value
Properties
client: Client
emoji: DiceEmoji
value: number
Methods
{ "id": 1265, "name": "Dice", "variant": "declaration", "kind": 128, "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Represents an animated emoji that displays a random value" } ] }, "children": [ { "id": 1266, "name": "constructor", "variant": "declaration", "kind": 512, "flags": {}, "sources": [ { "fileName": "packages/tgkit/src/structures/Dice.ts", "line": 16, "character": 1 } ], "signatures": [ { "id": 1267, "name": "new Dice", "variant": "signature", "kind": 16384, "flags": {}, "sources": [ { "fileName": "packages/tgkit/src/structures/Dice.ts", "line": 16, "character": 1 } ], "parameters": [ { "id": 1268, "name": "client", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "reference", "target": 1, "name": "Client", "package": "tgkit", "qualifiedName": "default" } }, { "id": 1269, "name": "data", "variant": "param", "kind": 32768, "flags": {}, "type": { "type": "intrinsic", "name": "any" } } ], "type": { "type": "reference", "target": 1265, "name": "Dice", "package": "tgkit", "qualifiedName": "default" }, "overwrites": { "type": "reference", "target": -1, "name": "Base.constructor" } } ], "overwrites": { "type": "reference", "target": -1, "name": "Base.constructor" } }, { "id": 1272, "name": "client", "variant": "declaration", "kind": 1024, "flags": { "isInherited": true }, "sources": [ { "fileName": "packages/tgkit/src/structures/Base.ts", "line": 4, "character": 1 } ], "type": { "type": "reference", "target": 1, "name": "Client", "package": "tgkit", "qualifiedName": "default" }, "inheritedFrom": { "type": "reference", "target": -1, "name": "Base.client" } }, { "id": 1270, "name": "emoji", "variant": "declaration", "kind": 1024, "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Emoji on which the dice throw animation is based" } ] }, "sources": [ { "fileName": "packages/tgkit/src/structures/Dice.ts", "line": 8, "character": 1 } ], "type": { "type": "reference", "target": 2091, "name": "DiceEmoji", "package": "tgkit" } }, { "id": 1271, "name": "value", "variant": "declaration", "kind": 1024, "flags": {}, "comment": { "summary": [ { "kind": "text", "text": "Value of the dice, 1-6 for '🎲', '🎯' and '🎳' base emoji,\n1-5 for '🏀' and '⚽' base emoji, 1-64 for '🎰' base emoji" } ] }, "sources": [ { "fileName": "packages/tgkit/src/structures/Dice.ts", "line": 14, "character": 1 } ], "type": { "type": "intrinsic", "name": "number" } } ], "groups": [ { "title": "Constructors", "children": [ 1266 ] }, { "title": "Properties", "children": [ 1272, 1270, 1271 ] } ], "sources": [ { "fileName": "packages/tgkit/src/structures/Dice.ts", "line": 6, "character": 21 } ], "extendedTypes": [ { "type": "reference", "target": { "sourceFileName": "packages/tgkit/src/structures/Base.ts", "qualifiedName": "default" }, "name": "default", "package": "tgkit" } ] }