-
Notifications
You must be signed in to change notification settings - Fork 5
/
microsoftTeams.media.File.yml
76 lines (76 loc) · 2.18 KB
/
microsoftTeams.media.File.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
### YamlMime:TSType
name: File
uid: '@microsoft/teams-js.microsoftTeams.media.File'
package: '@microsoft/teams-js'
summary: 'File object that can be used to represent image or video or audio'
fullName: File
remarks: ''
isDeprecated: false
type: class
properties:
- name: content
uid: '@microsoft/teams-js.microsoftTeams.media.File.content'
package: '@microsoft/teams-js'
summary: >-
Content of the file. When format is Base64, this is the base64
content. When format is ID, this is id mapping to the
URI. When format is base64 and app needs to use this directly
in HTML tags, it should convert this to dataUrl.
fullName: content
remarks: ''
isDeprecated: false
syntax:
content: 'content: string'
return:
description: ''
type: string
- name: format
uid: '@microsoft/teams-js.microsoftTeams.media.File.format'
package: '@microsoft/teams-js'
summary: 'Format of the content'
fullName: format
remarks: ''
isDeprecated: false
syntax:
content: 'format: FileFormat'
return:
description: ''
type: >-
@microsoft/teams-js.<xref uid="@microsoft.teams-js.media.FileFormat"
/>
- name: mimeType
uid: '@microsoft/teams-js.microsoftTeams.media.File.mimeType'
package: '@microsoft/teams-js'
summary: '* MIME type. This can be used for constructing a dataUrl, if needed.'
fullName: mimeType
remarks: ''
isDeprecated: false
syntax:
content: 'mimeType: string'
return:
description: ''
type: string
- name: name
uid: '@microsoft/teams-js.microsoftTeams.media.File.name'
package: '@microsoft/teams-js'
summary: '* Optional: Name of the file'
fullName: name
remarks: ''
isDeprecated: false
syntax:
content: 'name?: string'
return:
description: ''
type: string
- name: size
uid: '@microsoft/teams-js.microsoftTeams.media.File.size'
package: '@microsoft/teams-js'
summary: '* Size of the file in KB'
fullName: size
remarks: ''
isDeprecated: false
syntax:
content: 'size: number'
return:
description: ''
type: number