Опросы
This commit is contained in:
@@ -111,9 +111,11 @@ export interface Message {
|
||||
callType?: 'voice' | 'video' | string | null;
|
||||
callStatus?: 'missed' | 'completed' | 'cancelled' | 'declined' | string | null;
|
||||
duration?: number | null;
|
||||
pollOptions?: Array<{ Text: string; VoteCount: number }>;
|
||||
pollOptions?: Array<{ id: string; text: string; voteCount: number; voters?: Array<{ id: string; username: string; displayName: string; avatar?: string | null }>; voterIds?: string[] }>;
|
||||
pollIsMultipleChoice?: boolean;
|
||||
pollIsClosed?: boolean;
|
||||
pollIsAnonymous?: boolean;
|
||||
userVotedOptionIds?: string[];
|
||||
}
|
||||
|
||||
export interface Chat {
|
||||
|
||||
@@ -169,6 +169,9 @@ const translations = {
|
||||
pollSettings: 'Настройки',
|
||||
anonymousVoting: 'Анонимное голосование',
|
||||
multipleAnswers: 'Выбор нескольких вариантов',
|
||||
singleAnswer: 'Одиночный выбор',
|
||||
anonymous: 'Анонимно',
|
||||
votes: 'голосов',
|
||||
pollButton: 'Опрос',
|
||||
forwardMessage: 'Переслать сообщение',
|
||||
forward: 'Переслать',
|
||||
@@ -583,6 +586,9 @@ const translations = {
|
||||
pollSettings: 'Settings',
|
||||
anonymousVoting: 'Anonymous Voting',
|
||||
multipleAnswers: 'Multiple Answers',
|
||||
singleAnswer: 'Single Answer',
|
||||
anonymous: 'Anonymous',
|
||||
votes: 'votes',
|
||||
pollButton: 'Poll',
|
||||
groupSettings: 'Group settings',
|
||||
editGroupName: 'Edit name',
|
||||
|
||||
Reference in New Issue
Block a user