mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Update API
This commit is contained in:
@@ -1415,7 +1415,7 @@ final class VideoChatScreenComponent: Component {
|
||||
return
|
||||
}
|
||||
let entities = generateTextEntities(text.string, enabledTypes: [.mention, .hashtag], currentEntities: generateChatInputTextEntities(text))
|
||||
call.sendMessage(randomId: randomId, text: text.string, entities: entities)
|
||||
call.sendMessage(randomId: randomId, text: text.string, entities: entities, paidStars: nil)
|
||||
}
|
||||
|
||||
inputPanelView.clearSendMessageInput(updateState: true)
|
||||
@@ -3572,6 +3572,7 @@ final class VideoChatScreenComponent: Component {
|
||||
},
|
||||
timeoutAction: nil,
|
||||
forwardAction: nil,
|
||||
paidMessageAction: nil,
|
||||
moreAction: nil,
|
||||
presentCaptionPositionTooltip: nil,
|
||||
presentVoiceMessagesUnavailableTooltip: nil,
|
||||
@@ -3833,7 +3834,7 @@ final class VideoChatScreenComponent: Component {
|
||||
guard case let .group(groupCall) = self.currentCall, let call = groupCall as? PresentationGroupCallImpl else {
|
||||
return
|
||||
}
|
||||
call.sendMessage(text: text, entities: entities)
|
||||
call.sendMessage(text: text, entities: entities, paidStars: nil)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user